I only have one problem with Git and that is when I'm modifying a file on GitHub then trying to pull those changes in Xcode Source Control.
For example, I edit a README.md and commit it on GitHub.com. In Xcode I then obviously want to pull those changes so they will be reflected in my local repo i.e. I want my local README.md to inherit those new changes.
But every time I modify something on GitHub.com then try to pull those changes in Xcode, I get a "you have uncommitted changes, try committing then pulling" error message.
So I commit and push and sometimes end up with a branch problem (even though I'm on the same branch) or I'll have to go into the GitHub Mac app and make a commit with the same changes but using a different comment then sync then go back into Xcode and I can then make the pull.
It's very very strange. What am I doing wrong?
For example, I edit a README.md and commit it on GitHub.com. In Xcode I then obviously want to pull those changes so they will be reflected in my local repo i.e. I want my local README.md to inherit those new changes.
But every time I modify something on GitHub.com then try to pull those changes in Xcode, I get a "you have uncommitted changes, try committing then pulling" error message.
So I commit and push and sometimes end up with a branch problem (even though I'm on the same branch) or I'll have to go into the GitHub Mac app and make a commit with the same changes but using a different comment then sync then go back into Xcode and I can then make the pull.
It's very very strange. What am I doing wrong?