-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
81 lines (81 loc) · 2.02 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
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[user]
name = MeShootIn
email = dmitriimishutin@gmail.com
signingkey = ~/.ssh/github-meshootin.pub
[core]
editor = C:/tools/neovim/nvim-win64/bin/nvim.exe
autocrlf = false
excludes = ~/.gitignore
excludesfile = ~/.gitignore_global
fileMode = false
[credential]
helper = manager
[init]
defaultBranch = main
[fetch]
prune = true
[color]
ui = true
[alias]
lt = ls-tree --full-tree -r --name-only HEAD
l = log --oneline --graph --decorate
last = log --graph --decorate --pretty=fuller --stat -1 HEAD
cg = config --global
c = commit -S
a = add
p = ! git push origin $(git symbolic-ref --short HEAD)
d = difftool --
u = add --update
smu = submodule update --init --recursive --remote
sma = submodule add
al = ! git config --global --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\ =\\ / | sort
aa = add --all
cob = checkout -b
s = status --ignored --short
b = branch --all --verbose
r = reset
smum = submodule update --init --recursive --remote --merge
pl = pull --recurse-submodules
sw = switch
clr = clone --recursive
co = checkout
cl = clone
lns = log --name-status --oneline
dns = diff --name-status
perm = ls-tree --full-tree -r HEAD
uns = restore --staged
un = restore
cm = commit -S --message
lp = log --oneline --graph --decorate --pretty=fuller
dc = difftool --cached --
sw- = switch -
brn = branch --move
aac = "! git add --all; git commit -S"
aacm = "! git add --all; git commit -S --message"
ts = tag --sign
tv = tag --verify
co- = checkout -
pp = push
lu = ls-files --exclude-standard --others
li = ls-files --ignored --exclude-standard --others
[diff]
tool = nvimdiff
[merge]
tool = nvimdiff
[difftool]
prompt = false
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
[status]
short = false
[gpg]
format = ssh
[commit]
gpgsign = true
[includeIf "gitdir:~/work/"]
path = ~/work/.gitconfig