-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
43 lines (43 loc) · 1.01 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
[init]
defaultBranch = main
templatedir = ~/.git_template # files that do not start with dot
[core]
editor = nvim
excludesFile = ~/.gitignore.txt
autocrlf = input # CRLF and LF are not converted
[commit]
template = ~/.gitmessage.txt
[push]
default = current
[branch]
autoSetupMerge = true
[merge]
ff = only # always fast-forward
[rebase]
autoSquash = true
[fetch]
prune = true
[diff]
renames = copies
mnemonicPrefix = true
indentHeuristic = true # human-like output of hunk
colorMoved = zebra
[rerere]
enabled = true
[advice]
statusHints = false # get rid of help messages
[color]
ui = auto
[alias]
aa = add --all
ap = add --patch
branches = "for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes"
ci = commit -v
pf = push --force-with-lease
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[safe]
directory = /Users/vadym.kalinin/.nu_scripts