git - How to clone a bitbucket repo using a repository access token - Stack Overflow

I am trying to clone a bitbucket repo using a repository access token using the following commandgit c

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条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信