A complete submission of Code Cloud

One, create a warehouse

Simple, set public

Two, local warehouse initialization

git init

3. Tracking files

git add .

Fourth, submit to the local warehouse

git commit -m '这里是提交说明'

5. Name the remote warehouse

git remote add  origin

Usually called origin

Six, view remote warehouse

git remote -v

Seven, push the master to the remote warehouse (first time)

git push -u origin master

I have to write this the first time

8. After modifying the file, it needs to be pushed to the remote warehouse again

In order

git add . 
git commit -m '修改后的第二次提交'
git push

Can

Guess you like

Origin blog.csdn.net/m0_48459838/article/details/114899565