1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 09:15:24 +02:00

[git] Personal & Work directories config

This commit is contained in:
Hyacinthe Cartiaux 2020-05-08 17:47:21 +02:00
parent 817bbe7b99
commit aaae10279e
3 changed files with 13 additions and 5 deletions

View file

@ -16,17 +16,17 @@
# Resources:
# - http://stackoverflow.com/questions/267761/what-does-your-gitconfig-contain
# - https://github.com/Falkor/dotfiles
[user]
name = Hyacinthe Cartiaux
email = hyacinthe.cartiaux@free.fr
signingkey = 0x550DF40B
[includeIf "gitdir:~/"]
path = .gitconfig-personal
[includeIf "gitdir:~/repos/work/"]
path = .gitconfig-work
[alias]
up = pull origin
pu = push origin
st = status
df = diff
# ci = commit -S
ci = commit
br = branch
w = whatchanged --abbrev-commit

4
git/gitconfig-personal Normal file
View file

@ -0,0 +1,4 @@
[user]
name = Hyacinthe Cartiaux
email = hyacinthe.cartiaux@free.fr
signingkey = 0x550DF40B

4
git/gitconfig-work Normal file
View file

@ -0,0 +1,4 @@
[user]
name = Hyacinthe Cartiaux
email = hyacinthe.cartiaux@uni.lu
signingkey = 0x550DF40B