-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
50 lines (43 loc) · 1.08 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
[user]
name = Peter Mueller
email = [email protected]
signingkey = D305123C952C101A
[diff]
renames = true
[alias]
st = status --short
ds = diff --cached
co = checkout
cp = cherry-pick
lg = log --graph --pretty=format:'%Cred%h%Creset %C(yellow)%an%d%Creset %s %Cgreen(%cr)%Creset' --date=relative
lgo = log --all --graph --oneline --decorate
put = push origin HEAD
please = push --force-with-lease origin HEAD
gone = ! "git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D"
sha = rev-parse HEAD
[include]
path = ~/.gitconfig.platform
#[commit]
# gpgsign = true
[core]
excludesfile = ~/.config/git/ignore
[color]
ui = always
[color "diff-highlight"]
oldNormal = red
oldHighlight = red ul 52
newNormal = green
newHighlight = green ul 22
[color "diff"]
commit = green
meta = yellow
frag = cyan
old = red
new = green
whitespace = red reverse
[init]
defaultBranch = main
[pull]
ff = only
[push]
default = nothing