Created
February 22, 2015 03:47
-
-
Save tnrich/6d625b13cb9c96209acb to your computer and use it in GitHub Desktop.
Useful git shell aliases. Put them in ~/.profile or ~/.bashrc or wherever you keep your aliases
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
#lists your last 20 branches in the order that you last commited to them | |
alias gbh='git for-each-ref --count=20 --sort=-committerdate refs/heads/ --format='\''%(refname:short)'\''' | |
alias gc='git checkout' | |
alias gcam='git commit -am ' | |
alias gcb='git checkout -b ' | |
alias gpuo='git push -u origin' | |
alias gs='git status -sb ' | |
#need to npm install -g node-inspector and nodemon before using this one | |
alias debugApp='node-inspector & nodemon --debug app.js --remote' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment