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
Next revisionBoth sides next revision
developers:git:access_config [2019/11/05 00:59] – [Additional info: Setup of the SSH environment] Matteo Giantomassidevelopers:git:access_config [2019/11/05 01:00] – [Configuring Git for Launchpad] Matteo Giantomassi
Line 44: Line 44:
 <code>git remote set-url origin abinit-forge:DEVELOPER/abinit</code> <code>git remote set-url origin abinit-forge:DEVELOPER/abinit</code>
  
-===== 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> 
 ===== Additional info: Setup of the SSH environment ===== ===== Additional info: Setup of the SSH environment =====
  
developers/git/access_config.txt · Last modified: 2019/11/05 01:05 by Matteo Giantomassi