Created
December 3, 2018 14:02
-
-
Save packmad/23cf36dee8e563f4ab8ab27984261f88 to your computer and use it in GitHub Desktop.
Git command for the lazy and for the win
This file contains hidden or 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 | |
git pull | |
if [ "$1" != "" ]; then | |
git commit -am "$1" | |
else | |
git commit -am "auto" | |
fi | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment