Pushing to a fresh install of gitlab with the application image from DigitalOcean fails with Access denied. fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
I used the DigitalOcean guide to setup the installation: https://www.digitalocean.com/community/articles/how-to-use-the-gitlab-one-click-install-image-to-manage-git-repositories
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I had this issue, it turned out that the git repository wasn’t being cerated at all in
/var/opt/gitlab/git-data/repositories
restarting the server fixed it for me, not sure why.shutdown -r now
git push -u origin master <br> <br>I also tried Git-Tower (Git-Client for Mac) => same issue
I’ve just tried pushing to a gitlab repo and it worked (fresh GitLab droplet). What command are you trying to run?
yes, I did. <br>I tried my existing key and created a new key. No luck.
Did you add your public ssh key to your user using GitLab?