I'm trying to integrate Visual Studio Code as GitLab to perform version control of a software for my senior project at collegue.
I've tried with this commands.
git config --global user.name "xx xxxx"
git config --global user.email "[email protected]"
git clone ssh://[email protected]/NewFolder/repo.git
After introducing this commands the terminal shows:
"Cloning into 'state-editor'... [email protected]: Permission denied (publickey,keyboar-interactive). fatal: Cloud not read from remote repository. "
What should I do? Thanks in advance!
CodePudding user response:
One, you need to make sure you have added an SSH public key to your GitLab account, and are properly recognized/authenticated by GitLab with:
ssh -Tv [email protected]
Two, you need to create an empty project on GitLab, for you to clone/access:
git clone ssh://[email protected]/<me>/<myRepo>
Replace <me>
with your actual GitLab user account name.
"NewFolder
" is likely not your GitLab account.