-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
37 lines (36 loc) · 870 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
[user]
name = Keshi Dai
email = [email protected]
[alias]
co = checkout
br = branch
ci = commit
st = status
unstage = reset HEAD --
last = log -1 HEAD
lg = log --format=\"%Cgreen %h %C(yellow) %an %Creset| %s\" --graph
sh = show --pretty="format:" --name-only
ignore = update-index --assume-unchanged
unignore = update-index --no-assume-unchanged
setup = branch --set-upstream
[core]
editor = /usr/bin/vim
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = auto
[color "status"]
added = yellow
changed = green
untracked = cyan
[format]
pretty = format:"%h %C(yellow)%ci%Creset %Cgreen%an%Creset | %s"
[branch]
# always setup 'git pull' to rebase instead of merge
autosetuprebase = always
[push]
default = upstream
[merge]
tool = opendiff