If other developers have changed their code to the GitHub project, and I'm going to continue to develop on their hunger basis, how can I synchronize GitHub's code, and note that this is not the time to re-git init. Create a new warehouse on this machine. In fact, the local code warehouse and remote server has maintained a connection, we just pull down the code can be.
This will continue to be demonstrated on the basis of my previous blog, "Using git commands to upload and synchronize code."
(1) I modify the test file directly on GitHub and continue to enter the "sync to local tests from GitHub server" in the file. "That's a sentence. Then add notes to save.
2) go to local, terminal under the local Project warehouse directory, note that must be under your project to execute the command: Git pull.
(3) Then go to the local project to see if you are in sync with GitHub. Discovery data has been successfully updated.
Learn to use Git for project synchronization, it is convenient for collaborative development.