rod mclaughlinMore difficulties with Github (12 nov 12)
To maintain a Github repository, I found I had to a. work on the project locally If you work on your local copy of a Github repository without pulling from Github, and $ git push origin master it says you have to $ git pull origin master first, and you get lots of conflicts in irrelevant files like development.log which it wants you to resolve. The fact that you have a .gitignore file which told it not to check those files in in the first place doesn't seem to have worked.
Duh. If you use Github, you have to use it like a central code repository. You always need to update before you commit, even if you are the only committer. What you have to do, before changing anything locally, is a. cd into the project folder or... branch: http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging Back
|