I\'m trying to get GitLab up and running on my server. I followed the installation instructions at the gitlab github page and everything went well.
The issue is, whe
I got mixed up with this one time. When you use sudo git
, that means the git is being launched as root. The question would be -- did you create SSH key for root and put it inside Gitlab?
I am guessing that you created your SSH key without sudo
(which is for your normal account), put the SSH publickey into Gitlab, and then run sudo git
.
You can try running git without the sudo
. And if you have folder permission issues, which made you use sudo in the first place, try giving your user account access to that folder. Or perhaps try the git normally in a folder that you have write permission.