最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin0浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论