Add gitconfig gitignore

This commit is contained in:
Théophile Bastian 2016-09-24 22:09:18 +02:00
parent a6dd2f727a
commit 6f72f5cc1d
2 changed files with 15 additions and 0 deletions

14
files/.gitconfig Normal file
View file

@ -0,0 +1,14 @@
[core]
excludesfile = ~/.gitignore
[user]
email = contact@tobast.fr
name = Théophile Bastian
signingkey = 7B784C5D
[push]
default = simple
[pull]
rebase = true
[alias]
publish = !sh -c 'BRANCH=$(git symbolic-ref --short HEAD) && \
git fetch . $BRANCH:master'
pushblish = !git publish && git push origin master

1
files/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.swp