-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitconfig
57 lines (45 loc) · 1.21 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
[user]
name = Shane Smith
email = [email protected]
[core]
excludesfile = ~/.gitignore_global
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
[color]
ui = auto
[alias]
co = checkout
ci = commit
st = status -sb
br = branch
up = push --set-upstream origin
hist = log --pretty=format:\"%h %ad [%an] | %C(auto)%s%d\" --date=relative --all
histt = log --pretty=format:\"%h %ad [%an] | %C(auto)%s%d\" --date=local --all --date-order
histg = log --pretty=format:\"%h %ad [%an] | %C(auto)%s%d\" --graph --date=relative --all
type = cat-file -t
dump = cat-file -p
skipped = !git ls-files -v | grep ^[a-z]
skip = !git update-index --assume-unchanged
unskip = !git update-index --no-assume-unchanged
histb = log --graph --decorate --oneline --simplify-by-decoration --all
# list branches by commit date
branches = for-each-ref --sort=-committerdate --format='%(refname:short)' refs/heads/
d = difftool
[credential]
helper = osxkeychain
[push]
default = simple
[diff]
colorMoved = default
[difftool]
prompt = false
[difftool "vimdiff"]
cmd = vimdiff \"$LOCAL\" \"$REMOTE\"
[merge]
tool = vimdiff
conflictstyle = diff3
[mergetool]
prompt = false