auth:howto:sshkeygitlab
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
auth:howto:sshkeygitlab [2016/06/07 17:37] – [LOCAL GITLAB PROFILE] apano | auth:howto:sshkeygitlab [2016/06/15 10:47] – [SINGLE GIT ACCOUNT] apano | ||
---|---|---|---|
Line 28: | Line 28: | ||
==== SINGLE GIT ACCOUNT ==== | ==== SINGLE GIT ACCOUNT ==== | ||
- | You have to configure your locally installed gitlab to connect using the ssh key. | + | You have to configure your locally installed gitlab |
- | LINUX/ | + | LINUX/ |
+ | |||
+ | Inside a terminal, type the following: | ||
+ | |||
+ | < | ||
git config --global user.name " | git config --global user.name " | ||
git config --global user.email " | git config --global user.email " | ||
git config --list | git config --list | ||
+ | </ | ||
WINDOWS | WINDOWS | ||
+ | |||
Inside your GIT bash command line, type the following: | Inside your GIT bash command line, type the following: | ||
+ | |||
+ | < | ||
git config --global user.name " | git config --global user.name " | ||
git config --global user.email " | git config --global user.email " | ||
git config --list | git config --list | ||
+ | </ | ||
The last command should show the data you entered and is your gitlab global configuration. | The last command should show the data you entered and is your gitlab global configuration. | ||
Line 52: | Line 61: | ||
Try to checkout repo. Should you experience trouble check the contents of file: .ssh/ | Try to checkout repo. Should you experience trouble check the contents of file: .ssh/ | ||
+ | < | ||
host gitlabhostname.unibz.it | host gitlabhostname.unibz.it | ||
+ | </ | ||
Line 61: | Line 72: | ||
<code txt> | <code txt> | ||
git config user.name " | git config user.name " | ||
- | git config | + | git config user.email " |
</ | </ | ||
/data/www/wiki.inf.unibz.it/data/pages/auth/howto/sshkeygitlab.txt · Last modified: 2019/12/03 14:18 by apano