-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
46 lines (45 loc) · 914 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
39
40
41
42
43
44
45
46
[user]
name =
email =
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[push]
default = matching
[branch]
autosetuprebase = always
[merge]
ff = true
[rebase]
autoStash = true
[color]
ui = auto
[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = green bold
changed = yellow bold
untracked = red bold
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
ci = commit -v
a = add .
ca = commit -a
clo = clone
co = checkout
log = log -M --decorate --graph --oneline
sth = stash
st = status
br = branch
rc = rebase --continue
pur = pull --rebase
dh = diff HEAD