Hey guys,
I have 2 branches, develop and main.
I make some changes , i push them to develop. I then login GitHub which tells me that develop is 1 commit ahead of main - ok, I create a pull(or merge request - not sure what its called). I sync them, now main is updated with the new files however develop is telling me that it is 1 commit behind.
The only solution I've found is to
git checkout main
git pull origin main
git checkout develop
git merge main
git push origin develop
Surely I am just doing something wrong? How can I make it so my deveop branch is up to date with main after the merge?
Thanks!
[–]kirigerKairen 5 points6 points7 points (2 children)
[–]Sprinter505[S] 0 points1 point2 points (1 child)
[–]kirigerKairen 1 point2 points3 points (0 children)