Created
May 14, 2015 15:02
-
-
Save lcasartelli/1ebe927d89fbc1c14753 to your computer and use it in GitHub Desktop.
Shell aliases (require tig)
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
alias g="git" | |
alias ga="git add" | |
alias gaa="git add -A ." | |
alias gb="git branch" | |
alias gc="git commit" | |
alias gcam="tig status; git commit --amend" | |
alias gce="git commit --allow-empty" | |
alias gcl="git clone" | |
alias gcm="git commit -m" | |
alias gco="git checkout" | |
alias gcob="git checkout -b" | |
alias gg="tig status && git commit" | |
alias gl="git log --pretty='format:%Cgreen%H%Creset %an %Cblue%aD%Creset - %s' --graph" | |
alias gll="git pull" | |
alias gm="git merge --no-ff" | |
alias gp="git push" | |
alias gpa="git push --all" | |
alias gph="git push heroku master" | |
alias gpom="git push -u origin master" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment