Last active
December 9, 2015 13:02
-
-
Save RajaJaganathan/752eb3a92b219c0fe67e to your computer and use it in GitHub Desktop.
my favorites gitconfig options
This file contains 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
[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