-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
106 lines (106 loc) · 2.79 KB
/
gitconfig
File metadata and controls
106 lines (106 loc) · 2.79 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[core]
editor = nvim
autocrlf = input
excludesfile = ~/dotfiles/gitignore_global
[user]
name = Eduardo Dobay
email = edudobay@gmail.com
[color]
ui = true
[alias]
hist = log --pretty=oneline-color --graph --date=short
ha = log --pretty=oneline-color --graph --date=short --all
hal = log --pretty=oneline-color --graph --date=short --branches
har = log --pretty=oneline-color --graph --date=short --remotes
hh = log --pretty=oneline-reldate-color --graph --date=relative -n20
hha = log --pretty=oneline-reldate-color --graph --date=relative -n20 --all
hhal = log --pretty=oneline-reldate-color --graph --date=relative -n20 --branches
hhar = log --pretty=oneline-reldate-color --graph --date=relative -n20 --remotes
last = log -n1 -p --stat
lg = log --graph
lgs = log --oneline --graph
df = diff
dfs = diff --staged
dff = diff --stat
dffs = diff --stat --staged
st = status
s = status -sb
br = branch
bp = branch-protection
co = checkout
sub = submodule update --init --recursive
rff = remote-ff
[pretty]
medium-color = tformat:%C(yellow)commit %H%Creset%C(auto)%d%Creset%nAuthor: %an <%ae>%nDate: %ad%n%n %w(76,0,4)%B
oneline-color = format:%C(auto)%h%Creset %ad %s%C(auto)%d%Creset [%an]
oneline-reldate-color = format:%C(auto)%h%Creset %<(14)%ad %s%C(auto)%d%Creset [%an]
[format]
pretty = medium-color
[push]
default = simple
[merge]
tool = kdiff3
diffstat = true
stat = true
conflictStyle = zdiff3
[status]
submoduleSummary = true
[diff]
submodule = log
algorithm = histogram
colorMoved = default
[gpg]
program = gpg2
[gui]
editor = /usr/bin/nvim-qt
historybrowser = gitk
[cola]
fontdiff = Menlo,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
tabwidth = 4
boldheaders = false
spellcheck = false
theme = default
checkconflicts = true
blameviewer = git gui blame
maxrecent = 20
linebreak = true
expandtab = false
statusshowtotals = true
statusindent = true
startupmode = list
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[init]
defaultBranch = main
[pull]
ff = only
[rerere]
enabled = true
[url "git@github.com:"]
insteadOf = https://github.com/
[url "git@bitbucket.org-personal:edudobay/"]
insteadOf = git@bitbucket.org:edudobay/
[url "git@bitbucket.org:"]
insteadOf = https://bitbucket.org/
[repo-roots]
default = ~/projects
[receive]
denyCurrentBranch = refuse
[commit]
verbose = true
[core]
pager = delta
quotepath = off
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
line-numbers = true
[mailmap]
file = ~/Dropbox/gadle/mailmap
[include]
path = ~/dotfiles/gitconfig.local