Last active
January 11, 2021 16:36
-
-
Save PedroCaicedoDev/42c5c38d9229ba3595006bd6384b3324 to your computer and use it in GitHub Desktop.
config file (git + ssh) -> https://pedrocaicedo.medium.com/multiples-proveedores-de-repositories-75d1d36b984b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Host gitolite-as-alice | |
| HostName git.company.com | |
| User git | |
| IdentityFile /home/whoever/.ssh/id_rsa.alice | |
| IdentitiesOnly yes | |
| Host gitolite-as-bob | |
| HostName git.company.com | |
| User git | |
| IdentityFile /home/whoever/.ssh/id_dsa.bob | |
| IdentitiesOnly yes | |
| # Use | |
| # git remote add alice git@gitolite-as-alice:whatever.git | |
| # git remote add bob git@gitolite-as-bob:whatever.git | |
| # You must change original clone name repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment