I have a bad memory, in view of every time to find someone else, as a summary of their own
Here's a summary of the steps to use Gitbash to sync code on GitHub;
1. Now on GitHub new knowledge Base, namely new repository
2, fill in your project name and project description, create a knowledge base complete
3. These things are very important. Oh, you can cut down a lot of unnecessary trouble.
4. Need to open your Gitbash client, into the directory where you install Git
5. Create a local folder (mkdir Hssphone)
Open your Git folder and you will see a hssphone file in the directory
6. Enter your name and email address, and then go to your new folder below (CD hssphone/)
7. The input initialization command, here lets you save the page to be useful, the direct copy pastes is good, in order to prevent the mistake, here reminds a sentence, gitbash the client pastes the time is not CTRL + V, but clicks the right mouse button can
8. You need to upload the file to enlarge the folder you created, next enter git Add./* Add the Project
9. Submit the project, and push to the remote server side, and enter your username and password, note that the password is not shown here, as long as the correct input
OK, end, leave a message