-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
56 lines (56 loc) · 1.47 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
[init]
defaultBranch = main
[user]
name = Vladimir Varankin
email = [email protected]
signingKey = key::ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDM0OMrIAi5BKlYJr7JmOB2nacMueJeCeNDvoAyGWEp [email protected]
[core]
editor = vim
excludesfile = ~/.config/git/ignore
whitespace = fix,-indent-with-non-tab,trailing-space,-cr-at-eol
[github]
user = narqo
[url "ssh://[email protected]/"]
insteadOf = https://github.com/
[diff]
algorithm = patience
compactionHeuristic = true
[pull]
rebase = true
[push]
default = current
[alias]
br = branch -v
ci = commit
co = checkout
di = diff
st = status -sb
lg = log --oneline
lp = log -p
sw = switch
hist = log --graph --pretty=format:'%C(red)%h%Creset %s - %ad%C(green)%d%Creset %C(blue)<%an>%Creset' --date=short
staged = diff --cached
ff = merge --ff-only
ls = ls-files
up = pull --rebase --autostash --prune
sweep = "!f() { git branch --merged ${1-main} | grep -v "^[+*] " | xargs git branch -d; }; f"
root = rev-parse --show-toplevel
serve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/
[color]
ui = auto
branch = auto
diff = auto
interactive = auto
status = auto
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[commit]
gpgsign = true
[gpg]
format = ssh
[include]
path = ~/.config/git/local
[http]
cookiefile = ~/.config/git/cookies