-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
45 lines (45 loc) · 1.04 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
[user]
name = Addison Beck
email = hello@addisonbeck.com
signingkey = ~/.ssh/github.pub
[core]
editor = nvim
pager = delta
[interactive]
diffFilter = delta --color-only --features=interactive
[alias]
a = add
p = push
pl = pull
f = fetch --all
r = reset
r = rebase
l = log
li = list
d = difftool
rs = restore
g = grep
c = checkout
s = status
bigreset = reset (git merge-base master (git rev-parse --abbrev-ref HEAD))
clog = reflog --grep-reflog="commit" --format="format:'%C(yellow bold dim)[%h] %C(nodim)%gd %C(white)%an %C(italic nobold)%s %C(magenta noitalic)%d'"
ir = rebase -i origin/HEAD
sh = "!f() { rev=${1-HEAD}; git difftool $rev^ $rev; }; f"
purge = "!git branch | grep -v \" master$\" | xargs git branch -D"
[pull]
rebase = true
[format]
pretty= %C(yellow bold)[%h] %C(white)%an %C(italic nobold)%s %C(magenta noitalic)%d
[credential]
helper = store
[init]
defaultBranch = main
[gpg]
format = ssh
[commit]
gpgsign = true
[advice]
addIgnoredFile = false
[delta]
side-by-side = false
line-numbers = true