Checklist - Migrate Code to Bitbucket
When you find code that should had been uploaded into Bitbucket (but wasn't)
1. Update Estimate (90 minutes?) of the task.
2. Which Bitbucket project should this be placed in?
4. What will be the Repository Name in bitbucket?
5. What is the local working directory location?
6. Code Cleanup Pass
8. Initialize Bitbucket repository / git project
9. Upload to bit bucket (code similar to the following
Do this in bash in the folder with the code to move. (Code in italics will need to be set for your code)
> notepad readme.md
> git clone https://bitbucket.sacsewer.com/scm/max/sasd-rmse-project-cost-rollup.git
> cd sasd-rmse-project-cost-rollup
> git add readme.md
> git commit -m “Initialize Repository”
> git remote set-url origin https://bitbucket.sacsewer.com/scm/max/sasd-rmse-project-cost-rollup.git
> git push -u origin --all
> git push origin --tags
> git branch develop
> git checkout develop
> git add *
Open VSCode on that folder
- create branch IT-3756-Migrate Project CostRollup
- commit rest of files in that project
- Publish Changes
10. Create pull request
11. rename local working directory in tfs_migrated2bitbucket
12. Merge to develop
13. send out notifications to those who should know
14. update CMDB
15. Close Jira ticket.