Reputation: 3536
This is my first attempt at using Github's shared collaboration model
to work on a project with a friend. I have started a project and added him as a collaborator. After commiting changes how can he update the repo on his computer and likewise how can I keep the repo updated? What if there are collisions and how are they resolved. I'll be grateful if someone could highlight some best practices or point to some resource.
Thanks a lot!
Upvotes: 1
Views: 1080
Reputation: 23586
The best source of git knowledge is http://git-scm.com/book
EDIT:
The most important sections for you:
Upvotes: 1
Reputation: 1500
You probably want to read http://help.github.com/remotes/
To answer some of your questions: To update his repo, your friend would run git fetch, and afterwards git merge. git will then either merge the files directly, if there are no conflicts or ask him to resolve the conflicts manually, if the conflicts can't be resolved.
Upvotes: 3