Repository navigation
Expand file tree
/
Copy pathgitconfig
More file actions
60 lines (60 loc) · 1.6 KB
/
Copy pathgitconfig
File metadata and controls
60 lines (60 loc) · 1.6 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
[user]
email = hello@philkrones.com
name = Philipp Krones
signingkey = 1CA0DF2AF59D68A5
[commit]
gpgsign = true
[push]
autoSetupRemote = true
[core]
excludesfile = ~/.gitignore
pager = delta
[url "git@github.com:"]
pushInsteadOf = https://github.com/
[branch]
sort = -committerdate
[rebase]
updateRefs = true
[rerere]
enabled = true
autoupdate = true
[alias]
corig = clean **/*.orig *.orig -f
wip = commit -a -m "WIP"
pushfwl = push --force-with-lease --force-if-includes
drop = "!f() { git reset --keep HEAD~${1:-1}; }; f"
resorig = "!f() { git reset --keep $(git rev-parse --abbrev-ref --symbolic-full-name @{u}); }; f"
canpf = "!f() { git commit --amend --no-edit && git pushfwl; }; f"
cpsha = "!f() { git log -1 --format=%H HEAD~${1:-0} | wl-copy; }; f"
ghc = "!f() { mkdir -p ${1} && git clone git@github.com:${1} ${1}; }; f"
gone = gone
rad = rad
unwip = unwip
[maintenance]
repo = ~/rust-lang/rust-clippy
repo = ~/rust-lang/rust
[includeIf "gitdir:~/recogni/"]
path = ~/recogni/.gitconfig
[diff]
colorMoved = zebra
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
features = jjlike
[delta "jjlike"]
line-numbers = true
line-numbers-left-format = "{nm:>4}"
line-numbers-right-format = " {np:>4}: "
line-numbers-zero-style = dim
file-style = yellow
file-decoration-style = none
file-modified-label = "Modified regular file"
file-added-label = "Added regular file"
file-removed-label = "Removed regular file"
file-renamed-label = "Renamed regular file"
hunk-header-style = line-number
hunk-header-decoration-style = none
hunk-label = "..."
[merge]
conflictstyle = diff3