Repository navigation
Expand file tree
/
Copy pathdot_gitconfig.tmpl
More file actions
77 lines (77 loc) · 1.61 KB
/
Copy pathdot_gitconfig.tmpl
File metadata and controls
77 lines (77 loc) · 1.61 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
[ghq]
root = ~/go/src
[user]
name = {{ .git_name }}
email = {{ .git_email }}
[credential "https://github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[core]
pager = delta
autocrlf = input
ignorecase = false
excludesfile = ~/.gitignore_global
[init]
defaultBranch = main
[pull]
rebase = true
[push]
default = current
followTags = true
autoSetupRemote = true
useForceIfIncludes = true
[fetch]
prune = true
pruneTags = true
[rebase]
autoStash = true
updateRefs = true
[rerere]
enabled = true
[commit]
verbose = true
[branch]
sort = -committerdate
[tag]
sort = -version:refname
[alias]
s = status -sb
l = log --oneline --graph -20
la = log --oneline --graph --all -30
d = diff
ds = diff --staged
co = checkout
sw = switch
br = branch
unstage = reset HEAD --
amend = commit --amend --no-edit
last = log -1 --stat
cleanup = "!git branch --merged | grep -v '\\*\\|main\\|master' | xargs -n1 git branch -d"
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
side-by-side = true
line-numbers = true
[merge]
conflictstyle = zdiff3
[diff]
algorithm = histogram
mnemonicPrefix = true
renames = copies
colorMoved = default
[pack]
allowPackReuse = multi
[remote "origin"]
followRemoteHEAD = always
[help]
autocorrect = prompt
[transfer]
fsckObjects = true
[column]
ui = auto
[include]
path = ~/.gitconfig_local