-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
38 lines (36 loc) · 879 Bytes
/
gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[alias]
br = branch
ci = commit
co = checkout
cm = checkout master
df = diff
ds = diff --staged
st = status
l = log
last = log -1 HEAD
lg = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lp = log --pretty=oneline
rbc = rebase --continue
sa = stash apply
sh = show
ss = stash save
unstage = reset HEAD --
up = pull --rebase
[diff]
tool = vimdiff
# Allow local customizations in the .gitconfig_local file
[include]
path = ~/.gitconfig_local
[core]
editor = vim
excludesfile = ~/.gitignore_global
[credential]
helper = cache
[user]
name = huangrt01
email = [email protected]