1
I have a question and I don’t know how to fix it.
The following happens, I created a script in sh
called atualiza.sh
inside it I have the following code.
git add .
git commit -m"atualiza rotina"
git push
xxxxxxxxxxx
My goal is to run a routine every day that automatically updates any change in git and sends it to my versioning server.
Only when routine runs this file sh
that I created nothing happens. Can anyone tell me what the mistake is?
Have a log? Maybe that’s the way to find out. Or maybe adding
> log.txt
at the end of the command, you find out what is wrong.– Wallace Maxters
Returns nothing in the log :(
– felipesudrj
If in fact the above commands are in the script, something should appear. Is there a chunk of the script before what you posted? What command are you using to run the script?
– Genos
Your.sh file is inside the project directory?
– Alvaro Leonel