Git review (eight) quickly understand the structure Git

 

     

 

git pull: pull the latest code remote server to the local (automatically merge)

git add: add native code to the staging area

git commit: commits all the contents of the staging area to the current branch (git automatically created for our first branch master)

git push: push the code to a remote server

git fetch: pull the latest code to a remote server locally (not automatically merge)

git clone: ​​clone a local library

git checkout: branch switching

Guess you like

Origin www.cnblogs.com/kunmomo/p/11364662.html