-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitconfig
More file actions
36 lines (36 loc) · 777 Bytes
/
gitconfig
File metadata and controls
36 lines (36 loc) · 777 Bytes
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
[alias]
unstage = reset HEAD --
diffp = !git diff "$1"~
graph = log --graph --date-order -C -M --pretty=oneline --all --date=short --decorate --abbrev-commit
lg = log --abbrev=7 --format='%Cred%<(8)%h%Cblue%<(13,trunc)%cr%Creset%s %Cgreen%an%Creset'
co = checkout
br = branch -v
st = status
dc = diff --cached
ad = add --all
re = rebase
[color]
ui = true
branch = true
diff = true
interactive = true
[core]
preloadindex = true
editor = vim
[diff]
tool = vimdiff
[difftool]
prompt = false
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[include]
path = ~/.gitconfig.work
[merge]
tool = vimdiff
[mergetool]
prompt = false
[treediff]
tool = vimdiff.py