Hi I have self hosted bitbucket server(Atlassian Bitbucket v8.14.1) and i'm trying to clone repository with repository specific token using this command
git clone https://x-token-auth:<TOKEN>@<my-host>/<workspace>/<repository>.git
Could someone explain to me what should i use as a 'workspace' because when use project name or my user name i'm getting 'Not Found' error.
Hi Oleh735,
It appears that you are trying to clone the repository using the incorrect clone URL. Workspaces are a notion found in Bitbucket cloud, not in Bitbucket DC/Server.
In BitbucketDC/Server, you may obtain the clone URL of any repository by browsing it and clicking the clone button.
Please review the HTTP access tokens KB article which outlines multiple ways for cloning a repository using the access token.
Regards,
Aman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.