- [Instructor] Let's just take some time aside…to talk a little bit about creating branches…when doing your refactoring.…It's always important to use a separate branch…for each major refactor.…When it comes to creating these branches,…simply branch directly off of the baseline,…which should be the master of your project.…Once you have our own refactor branch,…you're able to make all the changes you need.…You can go back and compare it to the master,…and once you're sure that the refactor branch is stable,…you can merge it back to master.…
This is the general cycle that we're looking for.…You create a master baseline,…you refactor in a separate branch,…you perform your testing,…and then you merge it back to master.…From there,…you're able to create a new branch on the next refactor…and continue the process.…If you're working in a team…and need to do refactoring,…it's best that every member has their own branch…off of the baseline.…You can take your branch…and create a new refactor branch off of that,…perform your refactoring,…
Released
3/14/2018- Creating a baseline
- Removing unused code
- Refactoring in branches
- Using refactoring tools
- Optimizing code
- Creating clean code
Share this video
Embed this video
Video: Refactor in branches