Skip to content

Commit

Permalink
fix git push
Browse files Browse the repository at this point in the history
  • Loading branch information
auguster committed Oct 13, 2023
1 parent 54e850d commit 4ba5221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ git add backup.sql
git commit -m "$(date)"

echo "sending files to upstream"
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git push origin master
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git push --set-upstream origin main

echo "backup done on $(date)"

0 comments on commit 4ba5221

Please sign in to comment.