-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
53 lines (53 loc) · 1.15 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
[user]
name = Shawn M Moore
email = [email protected]
[core]
whitespace=-blank-at-eof
pager=delta
[commit]
verbose=true
[alias]
pr = "!perl -e '$origin = `git remote get-url origin`; $origin =~ s!^git\\@github.com:(.*)\\.git$!! or exit; $branch = `git rev-parse --abbrev-ref HEAD`; system qq{open https://github.com/$1/pull/new/$branch}'"
ship = !git push -fu origin HEAD && git pr
un-amend = reset --mixed HEAD@{1}
[push]
autoSetupRemote = true
[pull]
rebase = false
ff = only
[fetch]
recurseSubmodules = on-demand
[rebase]
autoStash = true
[init]
defaultBranch = master
[merge]
conflictstyle = zdiff3
[status]
submoduleSummary = true
showUntrackedFiles = all
[advice]
statusHints = false
detachedHead = false
skippedCherryPicks = false
diverging = false
[interactive]
singlekey = true
diffFilter = delta --color-only
[delta]
navigate = true
line-numbers = true
hyperlinks = true
theme = Monokai Extended Bright
zero-style = dim syntax
tabs=2
[diff]
colorMoved = default
[github]
user = sartak
[url "[email protected]:"]
insteadOf = https://github.com/
[include]
path = "~/.local/gitconfig"
[hub]
protocol = ssh