Upload basic steps github native code

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/yuewen2008/article/details/86376353

git init // put this directory can manage to become Git repository
git the Add README.md // files added to the repository
git add. // not only with a single document, but also with a wildcard, but also with the directory. A point to put all current untracked files in the directory add all the
git commit -m "first commit" // submit documents to the repository
git Remote add Origin [email protected] : xxx / xxxxx.git // associated with the remote warehouse
git push -u origin master // all contents of the local repository pushed to the remote repository

Guess you like

Origin blog.csdn.net/yuewen2008/article/details/86376353
Recommended