Last active
December 12, 2015 02:38
-
-
Save paulbooth/4700327 to your computer and use it in GitHub Desktop.
Aliases for quick git action. Slap this in ~/.bash_aliases (create it if it doesn't exist)
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
alias twag='echo "That was a joke." | say' | |
alias ga='git add' | |
alias gp='git push' | |
alias gl='git log' | |
alias gs='git status' | |
alias gd='git diff' | |
alias gc='git commit -am' | |
alias gma='git commit -am' | |
alias gb='git branch' | |
alias gco='git checkout' | |
alias gra='git remote add' | |
alias grr='git remote rm' | |
alias gpu='git pull' | |
alias gcl='git clone' | |
alias gph='git push heroku master' | |
alias hlt='heroku logs -t' | |
alias edit_aliases='subl ~/.bash_aliases' | |
alias maclogout="osascript -e 'tell application \"System Events\" to log out'" | |
function gcp() { git commit -am "$@" ; git push;} | |
function gcpp() { git commit -am "$@" ; git pull; git push;} | |
function gcph() { git commit -am "$@" ; git push; git push heroku master;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment