The question about the git branch function: how to solve the situation where one branch depends on another?

problem description

case: if you make an appointment with a colleague to develop synchronously. I cut a branch feature/user , and my colleague cut a branch feature/admin if the admin branch has some function that I rely on. What method should I use to get it?

the environmental background of the problems and what methods you have tried

it doesn"t make sense to pull the code of the admin branch directly with the admin branch. I would like to ask you how to deal with this situation?

Apr.21,2022

functional branches are divided by function or module and merged as needed

Menu