git remote

git init - / git-server --bare initialize a local remote server

git push submitted to a remote local history

git remote remote repository configuration operations

git remote add origin ~ / git-server to add a remote repository alias

git remote -v view the remote repository information

! [Rejected] was first submitted to you.

git push origin master server will also guide the pointer Last uploads

git fetch obtain remote repository commit history

git fetch origin master is also when people agree to submit, synchronous remote pointer, forked appearance

Then git merge origin / master definitive merger completed a new submission

git clone clone a remote repository as a local warehouse

git clone ~ / git-server test2 clone

git remote -v View

Guess you like

Origin blog.csdn.net/qq_38390092/article/details/92180840