So I am new to Git and I am not yet working with GitHub (Although I did sign up and set GitHub up)
Today I did something wrong, I think:
I created a new branch called "develop", and then moved to that branch. Next, I started a new .py file and wrote some code. Then I committed this new file's changes.
Next, I wanted to practice merging, so I moved to my 'master' branch, and tried git merge develop
, but was told that there were conflicts in my workspace.xml file. This file, I believe, just tracks my IDEs workspace so it starts me where I left off every time I re-open.
My questions:
1.) Is this workflow of mine at fault? Should I have created the new .py file while on the master branch? What could I have done differently?
2.) How do I resolve this conflict? Git says it won't let me merge because the old workspace.xml file will be overwritten.
3.) How do I get rid of "Your branch is ahead of 'origin/master' by 1 commit"? This is probably because I added a new file and committed it on the 'develop'?