dotfiles/files/.gitconfig

22 lines
983 B
INI
Raw Normal View History

2016-09-24 22:09:18 +02:00
[core]
2017-05-22 11:53:27 +02:00
excludesfile = ~/.gitignore
2017-03-24 20:50:43 +01:00
editor = "vim '+normal gg0' +startinsert"
2016-09-24 22:09:18 +02:00
[user]
2017-05-22 11:53:27 +02:00
email = contact@tobast.fr
name = Théophile Bastian
signingkey = 7B784C5D
2016-09-24 22:09:18 +02:00
[push]
2017-05-22 11:53:27 +02:00
default = simple
2016-09-24 22:09:18 +02:00
[pull]
2017-05-22 11:53:27 +02:00
rebase = true
2016-09-24 22:09:18 +02:00
[alias]
2017-05-22 11:53:27 +02:00
publish = !sh -c 'BRANCH=$(git symbolic-ref --short HEAD) && \
git fetch . $BRANCH:master'
pushblish = !git publish && git push origin master
update-with-master = !sh -c 'BRANCH=$(git symbolic-ref --short HEAD) && \
git checkout master && git pull -r && git checkout "$BRANCH" && \
git rebase master'
graph = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
2017-05-30 16:29:43 +02:00
slog = log --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
fpush = push --force-with-lease