When git associates a local library with a remote library, as follows, is the name of the remote library "origin" or "demo1"?

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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdf9ea-30ce7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdf9ea-30ce7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?