Last active
August 26, 2019 10:38
-
-
Save victorpaulo/1c84ebe3a6403c55e5a1be2ad806a508 to your computer and use it in GitHub Desktop.
git tips
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 | |
if [ "$#" -ne 1 ]; then | |
echo "please provide the comment as first argument" | |
exit 1 | |
fi | |
git add . | |
git commit -a -m "$1" | |
git push origin dev | |
echo "done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment