diff options
Diffstat (limited to 'sync/griff')
-rwxr-xr-x | sync/griff | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -39,11 +39,9 @@ for repo in $repos; do while [ -z "$commitmsg" ]; do read -p "Enter a commit message: " commitmsg done - git add . - git commit -m "$commitmsg" \ + git add . && git commit -m "$commitmsg" && git push \ && echo "$GRN[Changes to repo $name successfully pushed!]$NORM" \ || echo "$RED[An error occured while pushing changes to repo $name!]$NORM" - git push ;; esac fi |