-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
35 lines (35 loc) · 778 Bytes
/
gitconfig
File metadata and controls
35 lines (35 loc) · 778 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
[color]
ui = true
[push]
default = current
[core]
excludesfile = ~/.gitignore
[commit]
verbose = true
[merge]
conflictstyle = diff3
tool = vimdiff
[mergetool]
prompt = false
[includeIf "gitdir:~/src/"]
path = ~/src/.gitconfig
[includeIf "gitdir:~/work/"]
path = ~/work/.gitconfig
[includeIf "gitdir:~/Work/"]
path = ~/Work/.gitconfig
[includeIf "gitdir:~/Code/"]
path = ~/Code/.gitconfig
[includeIf "gitdir:~/.vim/"]
path = ~/Code/.gitconfig
[pager]
branch = off
[alias]
open = !nvim `~/Bin/git-open.sh`
changes = !git log --pretty=format:%s \"$1\".. | pbcopy && :
hchanges = !git log --pretty=format:\"%h %s\" \"$1\".. | pbcopy && :
[diff "javascript"]
xfuncname = "^.*function.*$|^.*=>.*$"
[pull]
rebase = true
[init]
defaultBranch = main