Switching from SVN to GIT can be awkward especially if your used to SVN shortcuts like
svn co
for svn checkout
and
svn up
for svn update
the solution is these nifty terminal aliases.
git status
,git add
,git commit
, andgit checkout
are such common commands that it is useful to have abbreviations for them.
alias gs='git status '
alias ga='git add '
alias gb='git branch '
alias gc='git commit'
alias gca='git commit -a'
alias gd='git diff'
alias go='git checkout '
alias gk='gitk --all&'
alias gx='gitx --all'
alias gp='git pull'
alias push='git push'
alias gr='git rebase '
alias gm='git merge '
alias got='git '
alias get='git '