-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
53 lines (46 loc) · 1.06 KB
/
.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
47
48
49
50
51
52
53
[user]
email = <email>
name = <name>
[credential]
helper = cache --timeout=86400
[branch]
autosetuprebase = always
[push]
default = current
[core]
autocrlf = input
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = auto
[alias]
d = diff --word-diff
dc = diff --cached --word-diff
co = checkout
st = status -sb
cp = cherry-pick -x
b = branch -v
r = remote -v
t = tag -l
branches = branch
unstage = reset HEAD
uncommit = reset --soft HEAD^
lol = log --oneline --decorate --graph
assume = update-index --assume-unchanged
unassume = update-index --no-assume-unchanged
assumed = "!git ls-files -v | grep ^h | cut -c 3-"
#who = shortlog -s --
#whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
#stage = add --patch
#clear = reset --hard
#changes = log --oneline --decorate --graph @{1}..
#merges = log --oneline --merges
#where = describe --tags
[diff]
tool = vimdiff
[gc]
auto = 1
[merge]
summary=true