A new branch from master is created, we call it test.
There are several developers who either commit to master or create other branches and later merge into master.
Let’s say work on test is taking several days and you want to continuously keep test updated with commits inside master.
I would do git pull origin master from test.
Question 1: Is this the right approach? Other developers could have easily worked on same files as I have worked btw.
Question 2: What is the right method to do it?
git checkout master git pull origin master git merge test git push origin master