What are origin and master in git push origin master?

remote libraries don"t feel origin?


default alias for origin remote repositories. Local git repositories can add multiple remote repositories

After

git clone, the default remote repository is called origin


origin is your remote library, and master is the main branch of the remote library. If you want to push to another branch, you need to change master to the name of that branch

.
Menu