-
Notifications
You must be signed in to change notification settings - Fork 108
/
Copy path.gitconfig
92 lines (75 loc) · 1.78 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# -*- mode: conf -*-
[user]
name = Fernando Perez
email = [email protected]
[include]
# For Github username / creds / system-specific stuff, etc
path = ~/.gitconfig.local
[init]
defaultBranch = main
[core]
excludesfile = ~/.gitignore
[alias]
ci = commit -a
cp = commit -a -m"Checkpoint"
co = checkout
st = status
br = branch
uncommit = reset HEAD^
ltag = tag -l -n3
wdiff = diff --color-words
slog = log --graph --topo-order --oneline
slog2 = log --graph --topo-order --abbrev-commit --date=relative --pretty=format:'%C(yellow)%h%Creset %s %Cgreen(%cr) %C(red)%d%Creset %C(bold blue)[%an]%Creset'
targz = !git archive --prefix=`basename $PWD`/ master| gzip > `basename $PWD`.tar.gz
[color]
branch = auto
diff = auto
status = auto
pager = true
ui = auto
wtf = true
[url "git://github.com/"]
insteadof = gh:
[url "[email protected]:"]
pushInsteadOf = git://github.com/
[url "https://"]
insteadOf = git://
[push]
default = tracking
[pull]
rebase = false
[branch]
autosetupmerge = true
[diff]
rename = copy
compactionHeuristic = true
[apply]
whitespace = strip
[help]
autocorrect = 10
[pager]
log = diffr | less
show = diffr | less
diff = diffr | less
[interactive]
diffFilter = diffr
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[diff "jupyternotebook"]
command = git-nbdiffdriver diff
[merge "jupyternotebook"]
driver = git-nbmergedriver merge %O %A %B %L %P
name = jupyter notebook merge driver
[difftool "nbdime"]
cmd = git-nbdifftool diff \"$LOCAL\" \"$REMOTE\" \"$BASE\"
[difftool]
prompt = false
[mergetool "nbdime"]
cmd = git-nbmergetool merge \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
[mergetool]
prompt = false
[credential]
helper = osxkeychain