I have pulled master branch on GitHub and it's up to date.
Steps which I followed later:
- Pulled a branch
branch1using commandgit pull remote branch1 - Pulled
masteragain usinggit pull origin master - Changed a file ( on
master) git add filename.txtgit commit -m "committing filename.txt"git push
But when I pushed it merged branch1 to the master. How did this happen? As I had pulled master again, I was expecting branch1 to be overwritten.
What did I miss here?