I’m new to git so it might be a noob question.
I’m working in git with 2 different branch (let’s call them A and B)
Both of the branch are working on a different part of the project except for one type of files.
I would like that thoses files are up to date in both of the branch:
if someone working on Branch A modify on of those files, commit and push his modifications, then someone working in branch B will have the modified files in the branch B.
What is the GIT workflow to achieve this?
Ok, let me explain you:
Git basic workflow is using branches. So, let say you are working on the branch A and I am working on the branch B.
If you change a file in your branch(A) then you commit and push your changes. I have to fetch and pull the remote repository to grab the changes form the remote to my local repository. But , after that i have to merge your branch(A) with my branch(B) un order to get your changes in my branch.
basic flow is: