Repository navigation
Expand file tree
/
Copy path.gitconfig
More file actions
93 lines (85 loc) · 2.02 KB
/
Copy path.gitconfig
File metadata and controls
93 lines (85 loc) · 2.02 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
[user]
name = Antoine Abt
email = antoine@abt.im
signinkey = A7A3E77248CB4240FB8445978C4A276D0FE82986
[color]
branch = auto
diff = auto
status = auto
interactive = auto
; [interactive]
; diffFilter = diff-so-fancy --patch
[alias]
a = add -p
st = status
ts = status
s = status -sb
c = commit
ci = commit
ch = cherry-pick
b = branch
br = branch
bl = ! sh -c 'git br --sort=-committerdate | head -n 40'
co = checkout
c- = checkout --
d = diff --word-diff=color
ds = diff --stat
df = diff
lg = log -p
f = fetch
p = push
r = restore
re = rebase
rom = rebase origin/master
roma = rebase origin/main
rc = rebase --continue
poh = push -u origin HEAD
lastweek = log --since="1 week" --oneline
lol = log --decorate --pretty=oneline --abbrev-commit --all --graph
oops = commit --amend --no-edit
ctags = "!sh -c '[ -f .git/hooks/ctags ] || git init; .git/hooks/ctags' git-ctags"
mine = log --author=abt
dc = diff --cached
fo = fetch origin
fu = fetch upstream
lg = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(blue)%h%C(reset) - %C(green)(%ar)%C(reset) %s%C(reset) %C(magenta)- %an%C(reset)%C(cyan)%d%C(reset)' --all
tags = tag
remotes = remote -v
branches = branch -a
pur = pull --rebase
[diff]
indent-heuristic
[diff "asciidiff"]
textconv = ~/.bin/img-ascii-diff
[core]
excludesfile = ~/.global_gitignore
pager = diff-so-fancy | less --tabs=4 -RFX
[init]
templatedir = ~/.dotfiles/.git_template
defaultBranch = main
[pager]
log = "diff-so-fancy | less"
show = "diff-so-fancy | less"
[merge]
tool = vimdiff
[mergetool]
prompt = true
[mergetool "vimdiff"]
cmd = nvim -d $BASE $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[push]
default = simple
[rebase]
autoStash = true
autosquash = true
[pull]
ff = only
autoStash = true
[advice]
ignoredHook = false
[diff "sopsdiffer"]
textconv = sops -d
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f