Add gitconfig gitignore
This commit is contained in:
parent
a6dd2f727a
commit
6f72f5cc1d
2 changed files with 15 additions and 0 deletions
14
files/.gitconfig
Normal file
14
files/.gitconfig
Normal 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
1
files/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*.swp
|
Loading…
Reference in a new issue