git remote add origin git@github.com:suiweinuv/demo1.git
Why remote Kujiao origin, when operating locally, but the real demo1? displayed on GitHub
git remote add origin git@github.com:suiweinuv/demo1.git
Why remote Kujiao origin, when operating locally, but the real demo1? displayed on GitHub
git remote add [shortname] [url]
in adding a remote repository, you can set a simple name to facilitate future reference to the original repository
for example, push the master branch of the local warehouse to the remote warehouse
git push origin master
to sum up, the name of your remote warehouse is demo1,origin, which is an acronym or reference to remote warehouse
.Portal: Git Foundation-use of remote repositories
in the future, when you use origin, it is your designated remote repository git@github.com:suiweinuv/demo1.git
, or you can come up with a name that is easy to remember.
Previous: Note the springmvc + freemarker garbled code of the configuration
Next: Copy someone else's beego project and report an error.