Created
May 20, 2013 00:39
-
-
Save trentbrooks/5609732 to your computer and use it in GitHub Desktop.
Lazy GitHub shortcut: copy file into your home directory next to '.bash_history' (if .bash_profile already exists, just copy/paste the function below). Launch terminal, cd into your local repo, then type- gitit "some commit". Note, function assumes your working with a 'develop' branch, if not change 'develop' to whatever your branch is, eg. 'mas…
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
function gitit { | |
git pull origin develop | |
git add -A | |
git commit -am "$1" | |
git push origin develop | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment