-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
50 lines (50 loc) · 1.17 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
[core]
excludesfile = ~/.gitignore
[commit]
gpgsign = true
[user]
signingkey = 6AD41FBEE7218C82
name = Christopher Higgins
email = code@chiggins.me
# require a config file to be set to do anything
useConfigOnly = true
[gpg]
program = /usr/bin/gpg2
[alias]
co = checkout
br = branch
ci = commit
st = status
rh = reset --hard
rs = reset --soft
logline = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
# removes local branches that don't exist on remote
prune = fetch --prune
uncommit = reset --soft HEAD^1
# stash files not added
stash-all = stash save --include-untracked
pfwl = push --force-with-lease
[push]
default = simple
# auto push tags
followTags = true
# auto set up remote branch if no match
autoSetupRemote = true
[pull]
rebase = true
ff = only
[merge]
log = true
[init]
defaultBranch = master
#[blame] enable with git 2.40
# ignoreRevsFile = .git-blame-ignore-revs
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[rebase]
autosquash = true
[help]
autocorrect = 1