-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
69 lines (69 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
57
58
59
60
61
62
63
64
65
66
67
68
69
[github]
user = weldyss
token = !"cat ~/.git-oauth-token | tr -d \"\n\""
[user]
name = Weldys Santos
email = weldys@icloud.com
signingkey = 9333A32A03F8A78C
[color]
diff = auto
status = auto
branch = auto
ui = true
pager = true
interactive = auto
[alias]
staash = stash --all
pub = "!f() { git push -u ${1:-origin} `git symbolic-ref HEAD`; }; f"
a = add
st = status
ci = commit
co = checkout
w = whatchanged
br = branch
df = diff
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
pl = pull
ps = push
pc = "!f() { git pull origin $(git rev-parse --abbrev-ref HEAD); }; f"
info = config --list
ch = log --oneline --reverse
tags = tag -n1 -l
sync = "!f() { git pc && git pub; }; f"
[diff]
renames = copy
[apply]
whitespace = fix
[core]
editor = "nvr --remote-wait-silent"
excludesfile = ~/.gitignore
[help]
autocorrect = 1
[rerere]
enabled = 1
[push]
default = current
[branch]
autosetuprebase = always
[pull]
rebase = true
[filter "media"]
clean = git media clean %f
smudge = git media smudge %f
required = true
[commit]
template = ~/.gitmessage
gpgsign = true
[gpg]
program = "gpg"
[init]
defaultBranch = main
[include]
path = ~/.gitconfig.local
[fetch]
prune = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true