We are currently using TFS for Git and I am tasked with moving that over to Bitbucket this weekend.
The current remote repository contains many branches. What is the easiest way to migrate the entire repository? My current (lengthy and tedious) plan of attack is:
My big concern is with steps 1 & 2. With so many branches, and depending on my internet connection, just those steps could take me nearly all weekend. And even if it didn't, the tedium of repeating nearly the same command for every. single. branch. may well drive me insane.
Atlassian Support was very helpful and provided me with this link:
Specifically, the commands I was looking for were:
git clone --bare
git push --mirror
But the link contains much more useful information for anyone attempting this sort of migration.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs