A new branch created for given requirement
git add .
git commit -m "comment"
(committing changes to branch)git pull --rebase origin master
(rebase branch with master)git fetch
git push -f origin <branch_name>
Now here, conflicts come every time:
After merge to master, when again on same branch running
git pull --rebase origin master
(rebase branch with master)Please advice how to avoid this and any change required in approach?
Problem
After merge to master, when again on same branch running
git pull --rebase origin master
(rebase branch with master)Solution: After multiple tries, found below approach solving this ->
After merge to master, if we need to add more changes in same branch
Then i tried below steps and above problem not appeared again ->
git add .
git fetch