I am trying to clone a bitbucket repo using a repository access token using the following command
git clone -c http.extraHeader='Authorization: Bearer MDM0MjM5NDc2MDxxxxxxxxxxxxxxxxxxxxx' .git
I got this command from the atlassian documentation
However when I run this command, I get asked what my username and password are (See photo). This should not be the case since this is a repository token and not a PAT or personal key.
I am stuck in trying to clone a repo using the repository token and need some help.
Anyone has any clue on this?
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745212983a4616953.html
评论列表(0条)