-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
48 lines (48 loc) · 1.14 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
[user]
name = Manuel Alabor
email = [email protected]
signingkey = C2629654CB8624DB
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[core]
excludesFile = ~/.gitignore_global
autocrlf = input
editor = /usr/bin/vim
[init]
defaultBranch = main
[alias]
st = status
co = checkout
c = commit
get-branch = !git rev-parse --abbrev-ref HEAD
publish = !git push -u origin $(git get-branch)
fixup = commit --fixup
r = rebase
ri = rebase --interactive --autosquash
wip = -c commit.gpgsign=false commit -a -m "WIP" --no-verify
unwip = !git reset --soft HEAD^1 && git restore --staged .
all = "!f() { ls -R -d */.git | sed s,/.git,, | xargs -P10 -I{} git -C {} $1; }; f"
[push]
default = upstream
[credential]
helper = osxkeychain
[pager]
diff = diff-so-fancy | LESSCHARSET=utf-8 less
show = diff-so-fancy | LESSCHARSET=utf-8 less
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[pull]
rebase = true
[commit]
gpgsign = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true