User Tools

Site Tools


auth_gitlab

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
auth_gitlab [2019/12/03 14:44] – [Generate an SSH key] apanoauth_gitlab [2019/12/03 14:56] – [Configure your local Git Client] apano
Line 50: Line 50:
  
 ===== Add an SSH key ===== ===== Add an SSH key =====
-If you already have an SSH key login to GitLab and go to → Profile Settings → SSH Keys. In the field Key copy the contents of the file: id_rsa.pub (or any other file containing your key).  +Login to Gitlab and go in your profile → Main Settings → SSH Keys.  
-Once you click Add Key, you will see the it listed.+ 
 +In the field Key copy the contents of the file: id_rsa.pub (or any other file containing your key).  
 + 
 +Choose a name to identify the key (ex. YourComputerName) and click Add Key, you will see the it listed.
  
 ===== Configure your local Git Client ===== ===== Configure your local Git Client =====
  
 Before proceeding check if your GIT client is already configured.  Before proceeding check if your GIT client is already configured. 
-LINUX/MACOSX terminal or Windows GIT bash , type the following: <code>git config --global --list</code> <code> git config --list </code>+Linux/macOS terminal or Windows Git Bash, type the following: <code> git config --global --list</code> <code> git config --list </code>
  
-If you use only one server for Git repositories configure it globally, otherwise locally+This command lists any existing GIT repositories configurations.  
 +If you have an already existing configuration, configure it locally for a specific project. If you have no other GIT configurations you can configure it globally.
  
 ==== Global GIT configuration ==== ==== Global GIT configuration ====
/data/www/wiki.inf.unibz.it/data/pages/auth_gitlab.txt · Last modified: 2020/04/02 11:25 by apano