-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
26 lines (24 loc) · 848 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
[user]
name = Christoph Büscher
email = [email protected]
signingkey = CEABB29FCAEF147D
[alias]
pr = "!f() { git fetch origin pull/$1/head:pr/$1; }; f"
tree = log --oneline --decorate --graph
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ap = commit -a --amend --no-edit
hd = rev-parse HEAD
um = !git checkout master && git pull origin master && git checkout -
re = for-each-ref --sort=-committerdate refs/heads/ --count=20
cuc = "!f() { git fetch origin; git checkout $1; git pull origin $1; git cherry-pick origin/$2; git diff HEAD~1 HEAD; }; f"
[push]
default = simple
autoSetupRemote = true
[rerere]
enabled = true
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[diff]
tool = diffmerge