11 lines
169 B
Bash
Executable File
11 lines
169 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd /var/www/html/apimacro
|
|
|
|
{
|
|
echo "Output di git fetch:"
|
|
sudo git fetch
|
|
echo "Output di git pull:"
|
|
sudo git pull
|
|
} 2>&1 # Cattura anche gli errori
|