“With aliases, you can avoid typing the same commands over and over again.” –
from the Aliases page on the
Git SCM Wiki
Once I found this, I immediately created the following aliases in
~/.gitconfig, as I frequently used these with Subversion.
ci = commit
st = status
I’m also fond of the llog
alias mentioned on the wiki that displays the log
with dates in your local timezone.
llog = log --date=local
Additionally, I added an alias that diffs my local repository (committed
changes) with our remote Subversion repository, showing changes that aren’t committed to Subversion.
sdiff = diff --name-status remotes/git-svn