git code cloud uploads

Before the document is too immature, delete.

20,190,506 for the first time finishing --------------------------------------------- -

The local project is initialized to git right-click on the project folder, enter the command line git

git init

New READEME file

touch README.md

Add files in the cache, usually (add all files), add a single file directly added to the file name in the back instead.

git add .

Enter a comment for this modification changes (this revision with the last project different places add this comment)

git commit -m '注释内容'

Adding a remote repository

git remote add origin 项目地址.git

Upload

git push origin master

Forced upload command (recommended to comply with the normal process)

git push origin master -f

Guess you like

Origin blog.csdn.net/qk61508/article/details/89879165