Really super helpless, Baidu on the search for a long time to take their own files uploaded to GitHub, how long? A few hours < Bay stretched out >
So I have to hurry to record, in case of a rainy, afraid of himself and forget
1 You first have to install Git on your computer
2 registering an account on GitHub
It's all very simple, it's not written in detail.
3 Open a warehouse on your own githu.
Click on the + sign new repository to build a warehouse name, and here I am repository4. Next, right-click Git bash:<1> on the root of the project file you're about to upload, create a local repository git init initialize the local repository git add-- All add project files to the tracking list git commit-m "My bootstrap Case" (some descriptive statements can be as follows)
$ git remote add origin [XXX]
"XXX" is the link you get url,remote refers to a remote Git repository
$ Git push-u Origin Master
Push the local repository to the remote,-u means that the file is uploaded in a streaming way
Refresh the GitHub page to see that the local git repository has been successfully uploaded
It's done!
About uploading local project files to GitHub