Skip to content

Instantly share code, notes, and snippets.

@RajaJaganathan
Last active December 9, 2015 13:02
Show Gist options
  • Save RajaJaganathan/752eb3a92b219c0fe67e to your computer and use it in GitHub Desktop.
Save RajaJaganathan/752eb3a92b219c0fe67e to your computer and use it in GitHub Desktop.
my favorites gitconfig options
[user]
name = Raja Jaganathan
email = rajajflex@gmail.com
[alias]
aa = add --all
br = branch
ca = commit --amend
cb = checkout -b
cm = commit -a --amend -C HEAD
ci = commit -a -v
co = checkout
di = diff
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
ld = log --pretty=format:"%C(yellow)%h\\ %C(green)%ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short --graph
ls = log --pretty=format:"%C(green)%h\\ %C(yellow)[%ad]%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
mm = merge --no-ff
sts = status --short --branch
st = status
[color]
diff = auto
status = auto
branch = auto
[merge]
tool = kdiff3
[diff]
tool = kdiff3
[difftool]
prompt = false
[mergetool]
keepBackup = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment