-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
86 lines (86 loc) · 2.11 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
[user]
name = Denis Lebedev
email = [email protected]
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJB3eaMm3A1bI+gAqbFch00XuYN3PPVBfnfXblEPhh0e
[core]
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes
editor = vim
# Make `git rebase` safer on OS X
# More info: <http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/>
trustctime = false
indentHeuristic = true
colorMoved = zebra
pager = diff-highlight | less
[push]
default = current
[credential]
helper = osxkeychain
[alias]
# all branches, sorted by last commit date
b = "!. ~/.githelpers && pretty_git_branch_sorted"
ci = commit
co = checkout
d = diff
dc = diff --cached
dh1 = diff HEAD~1
g = !exec git
git = !exec git
prune = fetch --prune
st = status
stash-all = stash save --include-untracked
undo = reset --soft HEAD^
# recent commits, only current branch
r = !GIT_NO_PAGER=1 git l -30
# recent commits, all reachable refs
ra = !git r --all
# all commits, only current branch
l = "!. ~/.githelpers && pretty_git_log"
# all commits, all reachable refs
la = !git l --all
[color]
diff = always
status = always
branch = always
ui = always
[apply]
whitespace = nowarn
[mergetool]
keepBackup = false
[difftool]
prompt = false
[help]
autocorrect = 1
[push]
# See `git help config` (search for push.default)
# for more information on different options of the below setting.
#
# Setting to git 2.0 default to suppress warning message
default = simple
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[rerere]
enabled = true
[merge]
conflictstyle = diff3
[status]
showUntrackedFiles = all
[hub]
protocol = https
[commit]
gpgsign = true
[branch "main"]
pushRemote = NOPE
[branch "master"]
pushRemote = NOPE
[advice]
skippedCherryPicks = false
[pull]
rebase = true
[gpg]
format = ssh
[gpg "ssh"]
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign