79761740

Date: 2025-09-11 09:41:33
Score: 0.5
Natty:
Report link

I am a few years, too late. But after spending a whole day searching for the solution found that it is pretty simple.
There are so many answers that layout the Bitbucket login related commands, so I will just write the abstract process, what helped me.

Hoping, this would help someone someday.

  1. Connect to the source control
  2. Clone the bare repo (bare repo: does't contain any project files, only git files/folders)
    • git clone --bare https:/ /xyz.com/folder/abcd.git
  3. Move into the directory, which you cloned.
    • cd abcd.git
  4. Add a new origin where you want to push the code. (can be gitlab, github anything)
    • git remote add new-origin
  5. push to the new origin
    • git push --mirror new-origin
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Anurag R