About 5 results: "bitbucket repo:joeworkman/git2bit"
Page 1 of 1
Filter Results
Sources
Languages
Filter Results
Try Search On

README.md in git2bit https://bitbucket.org/joeworkman/git2bit.git | 134 lines | MARKDOWN
  1. 
                        
  2. There are many people out there that have migrated their private repositories from Github to Bitbucket. Bitbucket has a goo utility that will clone your entire repository over, however, there is no way to migrate any existing issues that you have on Github. 
  3. 
                        
  4. git2bit is a CLI that solves this by migrating all your issues along with their comments and milestones from Github into your new Bitbucket repo. 
  5. 
                        
  6. **Important Tip**: I recommend that you create a new blank repo in Bitbucket to run intial migration tests with. Once you are happy with the migration results, you can delete this repository and proceed with migrating issues to the production repo.
  7. 
                        
  8. The issues systems between Github and Bitbucket are similar but also pretty different. Github uses *labels* in order to get you to organize and categorize your issues. Bitbucket does not support labels and instead has a more traditional approach using  a predefined set of fields. 
  9. 
                        
  10. Obviously the issue title and body will come over unchanged. However, all of the migrated issues will be created by the Bitbucket user account that is configred in git2bit. The original creation date of the issue will not be migrated either. As a consolation, the original data from Github will be inserted at the top of the newly created issue.  
  11. 
                        
  12. Here are some more caveats with each Bitbucket issue field. 
  13. 
                        
  14. **Tip**: Chances are you already had labels in Github for organizing issues by kind, priority, or component. Before you migrate issues using git2bit, make sure that you rename your labels to maps to the supported Bitbucket fields documented below. 
  15. 
                        
  16. All comments from Github will be brought over and inserted into the new issue created on Bitbucket. Just like at the ticket level the creation data (username & date) will be inserted at the top of each comment. 



git2bit.rb in git2bit https://bitbucket.org/joeworkman/git2bit.git | 3 lines | Ruby
  1. require "git2bit/version"
  2. require "git2bit/bitbucket"

Back to Top