Hi Team,
I want to clone my all repository by using bash. I have tried all the links but didn't succeed.
for reference https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-Server-Rest-Api-Clone-all-repositories/qaq-p/626578
I have tried this as well.
curl -s -u "$ORG_USER:$ORG_PASS" https://api.bitbucket.org/2.0/repositories/?role=member | jq -r '.values[] | {slug:.slug, links:.links.clone[] } | select(.links.name=="ssh") | "git clone \(.links.href) \(.slug)-cloud"' >> clone-repos.sh
So please guide me is there any way to clone all the repos.?
Here is the documentation for cloning a single Bitbucket repository: https://confluence.atlassian.com/bitbucket/clone-a-repository-223217891.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.