dotfiles/.gitconfig

15 lines
402 B
INI
Raw Normal View History

2014-06-22 16:16:14 +00:00
[user]
2018-07-20 09:00:54 +00:00
name = Julien Palard
email = julien@palard.fr
2014-06-22 16:16:14 +00:00
[push]
2018-07-20 09:00:54 +00:00
default = current
2014-06-22 16:16:14 +00:00
2018-07-20 09:00:54 +00:00
[alias]
st = status -s
co = checkout
br = branch
ci = commit
2019-06-08 13:42:42 +00:00
lg = log --graph --pretty=format:'%C(auto)%h%d %s %C(blue)%ci %C(green)%an%Creset'
pr = !sh -c \"git fetch upstream pull/${1}/head:pr_${1} && git worktree add ../$(basename $(git rev-parse --show-toplevel))-pr-${1} pr_${1}\"