-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitconfig
More file actions
57 lines (51 loc) · 1.18 KB
/
gitconfig
File metadata and controls
57 lines (51 loc) · 1.18 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
[user]
name = David
email = david@madebydavid.co
github = davidrhyswhite
signingKey = 3496A0DA1A14CBDE
[push]
default = current
[alias]
i = init
a = add
df = diff
cl = clone
co = checkout
br = branch
com = commit
st = status
ps = push
pl = pull
pf = push --force-with-lease
prune = fetch --prune
cob = checkout -b
corb = !sh -c 'git checkout -b $1 origin/$1' -
com = checkout main
fo = fetch origin
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
discard = !sh -c ' git clean -df && git checkout -- .'
can = commit --amend --no-edit
[core]
autocrlf = input
filemode = false
excludesfile = ~/.gitignore
editor = vim
[status]
showUntrackedFiles = all
[color]
diff = always
ui = auto
[init]
templatedir = ~/.git_template
defaultBranch = main
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[pull]
rebase = false
[credential]
username = davidrhyswhite
[commit]
gpgsign = true