I am new to XCode. Recently started working with a team on an iPhone project. We're using GitHub for our source control, and pulling/comitting/pushing straight from XCode (5.1).
We're all working on master at the moment.
I have noticed that our commit log has a ton of the following statements:
Merge remote-tracking branch 'origin/master'
These seem pretty superfluous. These items are almost always identical to a previous commit from another user.
Example Scenario:
- User A and user B do a PULL to start working on code.
- User A edits SomeViewController.m and does s COMMIT and a PUSH.
- User B edits AnotherViewController.m and does a COMMIT and a PUSH.
- User B is greeted with an error [from XCode] that he must PULL before he can COMMIT.
- User B does a PULL, then a COMMIT.
Now there are 3 items in the commit log:
- The change from User A
- The change from User B
- Merge remote-tracking branch 'origin/master'
But #1 and #3 are identical! What are we doing wrong? Or is this just a neccessary evil of using Git and XCode together?