-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
57 lines (43 loc) · 1.15 KB
/
gitconfig
File metadata and controls
57 lines (43 loc) · 1.15 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]
email = jonaylor89@gmail.com
name = Johannes Naylor
[github]
user = jonaylor89
# [url "ssh://git@github.com/"]
# insteadOf = https://github.com/
[url "ssh://git@gitlab.com/"]
insteadOf = https://gitlab.com/
[alias]
ci = commit
cim = commit -m
cl = clone --recursive
ps = push
pl = pull
psom = push origin main
psod = push origin dev
plom = pull --recurse-submodules origin main
plod = pull --recurse-submodules origin dev
pall = !git remote | xargs -L1 git push --all
co = checkout
ru = remote update
ra = remote add
rao = remote add origin
st = status
tree = log --graph --decorate --pretty=oneline --abbrev-commit
squash-all = "!f(){ git reset $(git commit-tree HEAD^{tree} -m \"${1:-A new start}\");};f"
yesterday = "log --since='yesterday.midnight' --until='midnight' --all --no-merges --oneline --author=jonaylor89@gmail.com"
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[diff "sopsdiffer"]
textconv = sops -d
[pull]
rebase = false
[init]
defaultBranch = main
[core]
excludesFile = ~/.gitignore
[commit]
gpgsign = true