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/04 23:56] – [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 44: | Line 46: | ||
< | < | ||
- | ===== 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: | ||
===== Additional info: Setup of the SSH environment ===== | ===== Additional info: Setup of the SSH environment ===== | ||
Line 76: | Line 66: | ||
| | ||
+ | |||
+ | |||
and then, copy the public key // | and then, copy the public key // | ||
Line 92: | 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.1572911777.txt.gz · Last modified: 2019/11/04 23:56 by Matteo Giantomassi