I have currently set up a personal installation on a private server for use on private repos.
I also have to use the company's GTBLT to set up projects for the company.
In a whole world, I will be able to use (like Geethabs) and can configure different SSP keys for each server. / P>
Unfortunately GitBlit has chosen to use SSL and has not used SSH. Installing a single SSL certificate for GIT is really simple.
git config --global http.sslKey path / to / username.key but the global feature in settings appears like I have This is the only way to override the GIT_SSL_KEY in this project, or can there be only one key, or whether there are two different types within the global setting (IE: pointing http: sslKey - There is a way to use different SSL keys) in .keyig file instead of .config )
You can configure a project differently except the - global argument and run it in the folder for the project you want to configure. For example:
-
Configure the company's SSL key as the global default key
git config - -global http.sslKey path / per / company.key -
Configure each private repo with your private key
CD / My / Private / Repo Git config http.sslKey path / to / private.key
No comments:
Post a Comment