Created
May 23, 2019 11:46
-
-
Save StanleyMasinde/9c575abf5c94a59452ad78986b12f413 to your computer and use it in GitHub Desktop.
a simple script to automate normal git actions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Starting the precommit process" | |
git add --all | |
echo "All changes staged" | |
echo "In yhe next screen add your commit message use nano syntax" | |
git commit | |
echo "All changes have commited" | |
git pull | |
echo "latest changes received" | |
git push | |
echo "Tada all done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment