diff options
| author | Ahmed Abdelhalim <[email protected]> | 2022-06-02 14:50:05 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2022-06-02 15:06:33 +0200 |
| commit | c085561ef880c1775056e18dc6e2534eddd9a3aa (patch) | |
| tree | a71cee0711b076b92f04b84866b06dedc4dd76a0 | |
| parent | f3a4620e2762a080d31c0da5b3c0a10857954865 (diff) | |
Update gitconfig to include separate work config for user config
| -rw-r--r-- | .gitconfig | 4 | ||||
| -rw-r--r-- | .gitconfig.work.inc | 5 | ||||
| -rw-r--r-- | README.md | 1 |
3 files changed, 9 insertions, 1 deletions
@@ -8,7 +8,7 @@ [merge] tool = vimdiff [user] - name = Ahmed AbdelHalim + name = a14m email = [email protected] username = a14m signingkey = 7A690E8DFE36C63A99355B1B76296F290BE3A016 @@ -37,3 +37,5 @@ prune = true [commit] gpgsign = true +[includeIf "gitdir/i:~/Work/Springer"] + path = ~/.gitconfig.work.inc diff --git a/.gitconfig.work.inc b/.gitconfig.work.inc new file mode 100644 index 0000000..09ea817 --- /dev/null +++ b/.gitconfig.work.inc @@ -0,0 +1,5 @@ +[user] + name = Ahmed AbdelHalim + email = [email protected] + username = a14m + signingkey = 7A690E8DFE36C63A99355B1B76296F290BE3A016 @@ -41,6 +41,7 @@ ln -sf ~/.rc/.tmux.conf ~/.tmux.conf ln -sf ~/.rc/.tmux-osx.conf ~/.tmux-osx.conf ln -sf ~/.rc/.gitconfig ~/.gitconfig +ln -sf ~/.rc/.gitconfig.work.inc ~/.gitconfig.work.inc ln -sf ~/.rc/.gitignore_global ~/.gitignore_global mkdir -p ~/.ssh |
