bitbucket-migrate.sh repos.txt # repos.txt should have one repository per line. (Of course, make sure you do this as a user who has access to all the repos so you don't leave anything behind.) The output you get back is something like: With Gitolite, you can run the command ssh info and get back a list of all the repositories you have access to.
![how to set up bitbucket repository how to set up bitbucket repository](https://i.ytimg.com/vi/3eBmisqUuHA/maxresdefault.jpg)
![how to set up bitbucket repository how to set up bitbucket repository](https://1.bp.blogspot.com/-q0ShvZE5dfE/VH6flWYWHjI/AAAAAAAAAMY/K6U5h0TS7bg/s1600/1.jpg)
Next, we grabbed a list of all our existing repositories. Bitbucket offers the same granularity that Gitolite supports in assigning permissions and roles on a per-repository basis, as well as defining roles for different people on your team, but of course the administration is a lot simpler since its through the Bitbucket UI, instead of Gitolite's configuration file.Īs part of this process, make sure your colleagues upload their SSH keys to their Bitbucket account so they are not locked out of pushing/pulling to repos. Bitbucket setupįirst we created a DesignHammer team in Bitbucket, invited our colleagues, and then added them to the team. Here's a quick guide to how we went about the process as well as some gotchas to look out for. This setup served us very well but moving to Bitbucket was an easy choice, given that we didn't want to spend our time maintaining the Gitolite instance, and the cost of Bitbucket would be about the same.Īfter we decided to make the switch, migrating to Bitbucket was really easy.
![how to set up bitbucket repository how to set up bitbucket repository](http://www.lostinsoftware.com/wp-content/uploads/2015/10/img_562feebe7d7a7.png)
For the past few years we had been hosting them on a Gitolite (v1) instance that we had set up at and were maintaining on a Rackspace slice. We recently migrated our team's repositories (103 of them) to Bitbucket.