Understand the usage of a little github

Used to write a lot of code due to reinstall the system is lost, for it is a worry, until know github, but the native code will be synchronized to this operation has been github above, today will be a bit of research.

It was my way of thinking there is a problem, in fact, not to create the file locally, but you now create a space above the github project, and then use git clone down, and then put your code into git clone corresponding local project folder inside , and use git add

git commit local file update is complete, and finally put the git push github code synchronization to the top. In fact, the establishment of local engineering and then upload to github this operation no use, with few opportunities, others are either clone a project modifications submitted, or clone an empty project created yourself, entered, and add files.

 

Guess you like

Origin www.cnblogs.com/yfish/p/11723212.html