developers:git:access_config
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
developers:git:access_config [2019/11/05 00:00] – [Configuring Git for Launchpad] Matteo Giantomassi | developers:git:access_config [2024/09/02 14:20] (current) – Maryam Azizi | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP important> | ||
+ | |||
====== Access configuration ====== | ====== Access configuration ====== | ||
Line 4: | Line 6: | ||
Here, we will suppose that you have already configured your Gitlab account properly and added the relevant SSH public keys to your profile, and that you have opened a terminal. | Here, we will suppose that you have already configured your Gitlab account properly and added the relevant SSH public keys to your profile, and that you have opened a terminal. | ||
+ | Note that with Gitlab account we mean an account on our **internal server** at gitlab.abinit.org and not an account on the gitlab.com portal! | ||
===== Configuring SSH ===== | ===== Configuring SSH ===== | ||
Line 63: | Line 65: | ||
| | ||
| | ||
+ | |||
+ | |||
and then, copy the public key // | and then, copy the public key // | ||
Line 80: | Line 84: | ||
ssh add ~/ | ssh add ~/ | ||
+ | |||
+ | ===== 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 " | ||
+ | </ | ||
+ | where you replace //USER// by your Launchpad user name. | ||
+ | |||
+ | Once done, you can interact with Launchpad through the " | ||
+ | <code sh>git clone lp: | ||
+ | or: | ||
+ | <code sh>git clone lp: | ||
developers/git/access_config.1572912055.txt.gz · Last modified: 2019/11/05 00:00 by Matteo Giantomassi