Files
apimacro/aggiorna.sh

11 lines
169 B
Bash
Raw Normal View History

2024-05-16 22:35:49 +02:00
#!/bin/bash
2025-04-16 15:55:40 +02:00
cd /var/www/html/apimacro
2024-05-17 12:35:44 +00:00
2025-04-16 15:55:40 +02:00
{
echo "Output di git fetch:"
sudo git fetch
echo "Output di git pull:"
sudo git pull
} 2>&1 # Cattura anche gli errori