I have a question about git's work flow. I've found some guides, but maybe you guys can clarify this for me.
Alright so the normal workflow that we are using in our department/project is:
- Master branch for big releases
- Dev branch for constant updating, which is merged to master for those big releases every month or so
- Features branches for all the issues we are tackling, that are pushed/merged to the dev branch once each feature is done and rebased into 1 commit.
So where I am having trouble is understanding on how to work on a branch that is dependant on another branch. To clarify:
file A has information for issues 1 and 2. Say I work on issue 1, and push that branch to be merged with dev. How do I work on issue 2, then once dev accepts the pull request from issue 1, update the code for issue 2 and then push to dev as a seperate issue.
I know that is a bit confusing so please let me know if I need to clarify.
I'm not sure if this is similar to what I am talking about :How to handle dependencies when using git topic branch workflow?