git push origin master和git push有什么区别?

1、master是主分支,还可以建一些其他的分支用于开发。
2、git push origin master的意思就是上传本地当前分支代码到master分支。git push是上传本地所有分支代码到远程对应的分支上。
原文地址:https://www.cnblogs.com/Berryxiong/p/6526463.html