-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig.tmpl
75 lines (60 loc) · 1.51 KB
/
dot_gitconfig.tmpl
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
[safe]
directory = *
# gitpod
{{ if eq .chezmoi.username "gitpod" -}}
[credential]
helper = /usr/bin/gp credential-helper
# not gitpod
{{ else if not (eq .chezmoi.username "gitpod") -}}
{{ end -}}
[push]
default = simple
autoSetupRemote = true
[user]
name = Ivan Isekeev
email = [email protected]
[core]
editor = hx
pager = delta
autocrlf = input
excludesFile = ~/.gitignore
[interactive]
diffFilter = delta --color-only
[init]
defaultBranch = main
[branch "master"]
mergeOptions = --squash
[delta]
navigate = true
light = true
side-by-side = true
side-by-side = true
line-numbers-left-format = ""
line-numbers-right-format = "│ "
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[checkout]
defaultRemote = origin
[alias]
st = status
ci = commit
br = branch
co = checkout
ds = diff --staged
ap = add -p
changes = log -n1 -p --format=fuller
amend = commit --amend -C HEAD
undo = clean -f -d
undoci = reset HEAD~1
unstage = reset HEAD --
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ls = log --pretty=format:\"%C(yellow)%h %C(blue)%ad%C(red)%d %C(reset)%s%C(green) [%cn]\" --decorate --date=short
lg-full = log --name-status --pretty=fuller
ignore = update-index --assume-unchanged
unignore = update-index --no-assume-unchanged
ignored = !git ls-files -v | grep "^[[:lower:]]"
[credential "https://gitlab.vrt.one"]
helper =
helper = !/data/data/com.termux/files/usr/bin/glab auth git-credential