-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
72 lines (72 loc) · 1.66 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
[color]
ui = auto
[user]
name = Thomas Khalil
email = KernelPanicAUS@users.noreply.github.com
[apply]
whitespace = nowarn
[alias]
co = checkout
st = status -s -b
ci = commit
sb = show-branch
up = !git fetch origin && git rebase origin/master
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %f %Cgreen(%cr)%Creset'
who = log --format="'%ai %h %aN %s'"
df = difftool --dir-diff
ba = branch -a
br = branch -r
rpo = remote prune origin
undo = reset --soft HEAD~1
wip = commit -am WIP
spull = !git pull && git submodule sync --recursive && git submodule update --init --recursive
spush = push --recurse-submodules=on-demand
[branch]
autosetuprebase = always
[push]
autoSetupRemote = true
[log]
decorate = true
[showbranch]
default = --all
[push]
followTags = true
[diff]
tool = diffmerge
submodule = log
wsErrorHighlight = all
[difftool "diffmerge"]
cmd = diffmerge \"$LOCAL\" \"$REMOTE\"
[core]
excludesfile = ~/.gitignore
editor = /usr/bin/vim -f
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[url "https://github"]
insteadOf = git://github
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[diff "sopsdiffer"]
textconv = sops -d
[rebase]
autoStash = true
[status]
submoduleSummary = true
[init]
defaultBranch = main
templateDir = /Users/tkhalil/.git-template
[http]
version = HTTP/1.1
postBuffer = 524288000
[github]
user = Thomas Khalil
[credential "https://github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential