git submit code to the remote warehouse

Copyright: welcome the exchange of learning, please indicate the source. https://blog.csdn.net/qq_23869697/article/details/91454285

git 7 Step submit code to the remote warehouse

1. entire code from the code to the local clone cartridge

2.git pull

Get the latest all files

3.git add .

Add a local modification

4.git status

View modify the state

5.git rm --cache file name

Do not want to delete the documents submitted

6.git commit -m 'comment' (linux environment) Git commit -m "comment" (window environment)

Submitted to the local

7. git push

Submit to a remote warehouse

Guess you like

Origin blog.csdn.net/qq_23869697/article/details/91454285