-
-
Save saiury92/565fcbe9a5fb1ba9a128 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 J | |
email = raja_j@apple.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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment