Git common commands (2)

Address associated with the remote repository: git the Add Remote Origin [remote address of the warehouse]

 Enter the git remote -v to check whether the association was successful

 Which is to fetch the latest contents of the remote repository to pull local user to check and then decide whether to merge into the local

push the contents of the local branch is pushed to the remote repository

Clone repository: git clone

Cloning warehouse has three effects:

  Download the complete remote to the local library

  Create an alias address origin

  Initialize the local library

Guess you like

Origin www.cnblogs.com/zxmonster/p/11964303.html
Recommended