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:
parent
817bbe7b99
commit
aaae10279e
3 changed files with 13 additions and 5 deletions
|
@ -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
4
git/gitconfig-personal
Normal file
|
@ -0,0 +1,4 @@
|
|||
[user]
|
||||
name = Hyacinthe Cartiaux
|
||||
email = hyacinthe.cartiaux@free.fr
|
||||
signingkey = 0x550DF40B
|
4
git/gitconfig-work
Normal file
4
git/gitconfig-work
Normal file
|
@ -0,0 +1,4 @@
|
|||
[user]
|
||||
name = Hyacinthe Cartiaux
|
||||
email = hyacinthe.cartiaux@uni.lu
|
||||
signingkey = 0x550DF40B
|
Loading…
Reference in a new issue