-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
35 lines (34 loc) · 1.27 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
[user]
name = Tucker Beck
email = [email protected]
signingkey = 8AB369CEEAEB6E9A317DE739E0E8F7B4D99E8ABF
[alias]
lg = "log --pretty=format:'%C(yellow)%h%C(reset) %C(blue)%an%C(reset) %C(cyan)%cr (%cs)%C(reset) %s %C(green)%d%C(reset)' --graph"
st = status
df = "difftool origin/master"
sup = "submodule update"
pushup = "!git push -u origin $(git rev-parse --abbrev-ref HEAD)"
tagup = "!git tag v$(poetry version -s) && git push origin v$(poetry version -s)"
crack = "!target=$(git st -s | grep -m1 '^U.*' | cut -d' ' -f2) && $EDITOR $target && git add $target"
now = "rev-parse --abbrev-ref HEAD"
jam = "!git commit -am 'interim commit' && git push"
branches = "!printf '%15s %-77s %s\n' 'MODIFIED' 'BRANCH NAME' 'LAST COMMIT MESSAGE' && git branch --sort=-authordate --format=\"%(align:right,width=18)%(color:yellow)(%(authordate:relative))%(end) %(align:width=80)%(color:green)%(refname:short)%(end) %(color:magenta)%(subject)\""
irk = "!git rebase -i HEAD~\"{$1:-2}\" #"
[push]
default = simple
[diff]
tool = vimdiff
[color]
ui = auto
[color "diff"]
new = cyan
old = magenta
frag = yellow
meta = green
commit = normal
[credential]
helper = cache
[github]
user = dusktreader
[init]
defaultBranch = main