Created
July 6, 2018 04:00
-
-
Save melvinlee/5fd6002f65ad2d66c94d00b39682d063 to your computer and use it in GitHub Desktop.
Git Config
This file contains hidden or 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 = my name | |
email = [email protected] | |
[core] | |
editor = vi | |
[alias] | |
aa = add --all | |
bv = branch -vv | |
ba = branch -ra | |
bd = branch -d | |
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 | |
st = status --short --branch | |
tg = tag -a | |
pu = push --tags | |
un = reset --hard HEAD | |
uh = reset --hard HEAD^ | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[branch] | |
autosetuprebase = always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment