Explanation
This blog is not used throughout the guide for beginners Git, but I can recommend an excellent blog post, I referenced entry: Here
This article is adapted to the basic configuration and do their own submitted a beginner, you can prevent forgetting the wrong command or process.
Let’s go!
First, we create a new code repository on Github, namely New Repository:
Then complete the information.
Next, find a local library storage folder:
(This is my: D: / Github)
right directly open the Git bash:
be clone, the establishment of local libraries:
copy the URL in the new library's web page above:
Enter the command:
git clone url
Note that the right to use the Paste paste, Git bash inside Ctrl + C / Ctrl + V so bad! !
After the completion of open Github folder, find a local library, documents to be submitted are copied into it.
Then retreated to the local library folder there, such as my library named hh, is D: / Github /, in which right-hh folder, open the Git bash again. (Of course, may be adjusted by the position it cd)
Then enter the following command in Git bash in turn:
git add .
git commit -m "你想说的"
git push -u origin master
Finally completed it! !
to sum up
But it is still quite simple here that is the basic operation, simply comb process.
Use your Git and Github it! !