You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jason Swett edited this page Jan 21, 2015
·
2 revisions
alias gs='git status '
alias ga='git add '
alias gb='git branch '
alias gc='git commit'
alias gd='git diff'
alias go='git checkout '
alias gk='gitk --all&'
alias gx='gitx --all'
To use these aliases:
Paste them into your ~/.bash_profile file. (If you don't have such a file, create it).
Run . ~/.bash_profile on the console to force your system to reload ~/.bash_profile, thus picking up your new aliases. You'll need to do this for each tab you have open if you want to use the aliases there. (But for new tabs you open, you don't need to reload ~/.bash_profile.)