-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
64 lines (64 loc) · 1.57 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
54
55
56
57
58
59
60
61
62
63
64
[alias]
st = status -sb
co = checkout
df = diff
lsb = "branch -v"
l = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ls = "log --oneline --decorate"
lsg = "log --oneline --decorate --graph"
untrack = "rm -r --cached --"
unstage = "reset HEAD --"
rf = "checkout HEAD --"
lsi = "ls-files --others --ignored --exclude-standard"
lsit = "ls-files --ignored --exclude-standard"
pl = pull --rebase
pu = push -u
dummy = commit --allow-empty -m "dummy commit"
[core]
editor = vi
autocrlf = input
excludesfile = ~/.gitignore
[color]
ui = true
branch = auto
diff = auto
interactive = auto
status = auto
[color "branch"]
current = cyan bold
local = cyan
remote = red
[difftool "Kaleidoscope"]
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
[diff]
tool = Kaleidoscope
[difftool]
prompt = false
[mergetool "Kaleidoscope"]
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
trustExitCode = true
[mergetool]
prompt = false
keepBackup = false
[merge]
tool = Kaleidoscope
[push]
default = current
[pull]
default = current
[status]
showUntrackedFiles = all
[rerere]
autoupdate = true
enabled = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[rebase]
autoStash = true
[user]
name = Kobe
email = [email protected]