Under repo setting -> access token
i created the token with permission like pull/pushbut with that token i am not able to clone the repo i tried setting the git config user.emailthat is provided for created access token
need urgent help on this
Hello @devharrison-kern ,
and welcome to the Community!
To use a repository access token as the authentication when cloning a repository, the following command should be used:
git clone https://x-token-auth:{repository_access_token}@bitbucket.org/{workspace}/{repository}.git
Changing the placeholders {repository_access_token}, {workspace} and {repository} with the actual values (without the curly braces).
You can find more details and examples in the Include the Repository Access Token in the URL documentation
Could you confirm if you used the syntax above when trying to clone the repository? If not, could try try again using that command and let us know how it goes?
In case you are still facing issues, please share with us the full command and the log output containing the error.
Thank you, @devharrison-kern !
Patrik S
It looks like you're new here. Sign in or register to get started.