Created
January 3, 2019 13:32
-
-
Save asconix/c717de61ea97436dee3f6e3c5b7f3d53 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi folks. I want to use deploy keys to access private repos (hosted GitLab). | |
This one works fine: | |
git clone https://my-gitlab-deploy-token-user:[email protected]/username/projectname.git | |
Accessing archive.tgz fails with authentication error: | |
curl https://my-gitlab-deploy-token-user:[email protected]/username/projectname/repository/archive.tar.gz | |
Anyone has an idea why the token authentication works fine using HTTP endpoint for a Git clone but not direct access to the archiuve tarball? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment