While the tested code should go live, I am already working on new features. When the tester says I need to fix a bug, I want to make the fix in the test branch, but then I also have to repeat it in my working branch, which means I'm writing the same code twice. some times i forget what i fixed in tesing branch then the bug repates in next relase can some one help
#GIt nranching
2 messages · Page 1 of 1 (latest)
There are a couple of ways I can think of.
-
You can create a branch off of your testing branch, apply the fix in the new branch, and then merge into both the testing and main branches.
-
Or you can use the git cherry-pick command to merge a commit from another branch into main.
BTW this channel is more for onboarding into 100devs. You can usually get a faster response in #1084551836817698906 (code-help) for questions like this. 🙏