User Tools

Site Tools


developers:git:access_config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
developers:git:access_config [2019/11/05 01:01] – [Additional info: Setup of the SSH environment] Matteo Giantomassidevelopers:git:access_config [2019/11/05 01:01] – [Configuring Git for Launchpad] Matteo Giantomassi
Line 65: Line 65:
        
        
-===== Configuring Git for Launchpad ===== 
- 
-If you are using and/or developing Abinit-related packages located on Launchpad, we recommend you to add the following to your Git configuration: 
-<code sh> 
-git config --global "url.git+ssh://USER@git.launchpad.net/.insteadOf" "lp:" 
-</code> 
-where you replace //USER// by your Launchpad user name. 
- 
-Once done, you can interact with Launchpad through the "lp:" prefix, e.g.: 
-<code sh>git clone lp:abinit-fallbacks</code> 
-or: 
-<code sh>git clone lp:~abinit-fallbacks-developers/libpsml</code> 
  
 and then, copy the public key //id_rsa_gitlab.pub// on gitlab. and then, copy the public key //id_rsa_gitlab.pub// on gitlab.
Line 94: Line 82:
   ssh add ~/.ssh/id_rsa_gitlab # add the corresponding ssh key for gitlab   ssh add ~/.ssh/id_rsa_gitlab # add the corresponding ssh key for gitlab
  
 +
 +===== Configuring Git for Launchpad =====
 +
 +If you are using and/or developing Abinit-related packages located on Launchpad, we recommend you to add the following to your Git configuration:
 +<code sh>
 +git config --global "url.git+ssh://USER@git.launchpad.net/.insteadOf" "lp:"
 +</code>
 +where you replace //USER// by your Launchpad user name.
 +
 +Once done, you can interact with Launchpad through the "lp:" prefix, e.g.:
 +<code sh>git clone lp:abinit-fallbacks</code>
 +or:
 +<code sh>git clone lp:~abinit-fallbacks-developers/libpsml</code>
  
developers/git/access_config.txt · Last modified: 2019/11/05 01:05 by Matteo Giantomassi