Copy a Bitbucket Repository from one account to another bitbucket account
bitbucket, git, version-control
Solution
Recently, I had to do this for multiple repositories. I found a better way than cloning the repo locally and pushing it to another remote(on Bitbucket).
Bitbucket provides import repository feature. It can be found under `Repositories > Import Repository`
Just provide https url of the repo and access credentials, and bitbucket will do the rest for you.
I know this is an old question but this method is easier and saves a lot of time. Hope this helps others in future.
Problem
my friend have a repository on Bitbucket and I want to copy that repository (for future reference so that if he delete that repository i would still have one copy) to my bitbucket account. I tried bare-cloning,mirror push and etc... but :( may be I'm missing some set of commands PS: repository type is git (not hg)