diff options
| author | Timmy Keller <tjk@tjkeller.xyz> | 2021-10-20 20:17:49 -0500 | 
|---|---|---|
| committer | Timmy Keller <tjk@tjkeller.xyz> | 2021-10-20 20:17:49 -0500 | 
| commit | ec64def6f6db99a7981c1665fb55eabb226ec827 (patch) | |
| tree | 00753a4df2b7fa7c22f192ef5b90731e62e005a1 | |
| parent | 57b01e3d118c92af0ee6421a241fc34c393d5e84 (diff) | |
| download | scripts-ec64def6f6db99a7981c1665fb55eabb226ec827.tar.xz scripts-ec64def6f6db99a7981c1665fb55eabb226ec827.zip  | |
change griff to confirm changes are made before giving success message
| -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  | 
