-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
41 lines (41 loc) · 970 Bytes
/
.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
[user]
name = David Calvert
email = david@0xdc.me
signingkey = 5A574FA7E8F3D9F5
[commit]
gpgSign = true
[alias]
st = status
pp = pull --prune
pb = !git push --set-upstream origin $(git branch --show-current)
ci = commit -s -S
cia = commit --amend
br = branch
co = checkout
df = diff
dc = diff --cached
lp = log -p
log = log --name-status
lol = log --graph --decorate --pretty=oneline --abbrev-commit -n 20
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
# Show files ignored by git
ign = ls-files -o -i --exclude-standard
[pull]
rebase = false
[push]
followTags = true
[merge]
tool = vscode
[mergetool "vscode"]
cmd = code --wait --new-window $MERGED
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff --new-window $LOCAL $REMOTE
# [url "ssh://git@github.com"]
# insteadOf = https://github.com
[url "git@github.com:"]
insteadOf = gh:
[init]
defaultBranch = main