-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
77 lines (61 loc) · 1.46 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
70
71
72
73
74
75
76
77
[user]
name = Adam Gibbins
signingkey = C703DE05
useconfigonly = true
[format]
numbered = auto
[color]
ui = auto
interactive = auto
[pager]
status = true
show-branch = true
[svn]
rmdir = true
[alias]
st = status -sb
ci = commit
co = checkout
d = diff -b
b = branch -av
pp = !git pull --rebase && git push
staged = diff --cached
unstaged = diff
both = diff HEAD
worddiff = diff --word-diff
oneline = log --pretty --decorate
amend = commit --amend
graph = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
who = "!sh -c 'git log -1 --pretty=\"format:%an <%ae>\" --author=\"$1\"' -"
msg = commit --allow-empty -m
unstage = reset HEAD
uncommit = reset --soft HEAD^
branch-touched = for-each-ref --sort=-authorname refs/remotes/ --format='%(refname:short) %(committerdate:short) %(authorname)'
pp = !git pull --rebase && git push
git = !git
[format]
numbered = auto
[core]
legacyheaders = false
usedeltabaseoffset = true
excludesfile = ~/.gitignore
[diff]
tool = nvim -d
compactionHeuristic = true
[merge]
summary = true
[mergetool]
keepBackup = true
[branch]
autosetuprebase = always
[push]
default = current
[github]
user = adamgibbins
[instaweb]
httpd = webrick
port = 4000
browser = open
[init]
defaultBranch = main
# vim: st=2:ts=2:noet:ft=gitconfig