|
|
|
|
|
by rockostrich
179 days ago
|
|
You don't even need to do that. You can just put each set of repos in a directory on a per-account basis and set up git-configs for each. The top of my `.gitconfig` looks like [includeIf "gitdir:~/Work/"]
path = .gitconfig_work
[includeIf "gitdir:~/OpenSource/"]
path = .gitconfig_opensource
where `Work` is where all of our repos associated with our GitHub EMU go and `OpenSource` is where I clone all of the open source repos I need to contribute to for work. Our EMU policy doesn't allow us to use our EMU accounts on other repos (or maybe this is just a general restriction of EMU) so I have that set-up to use my personal GitHub. |
|