Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
a simple script to automate normal git actions
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