It's because Git doesn't assume you want to push branches and their changes by default. For that, you need to push everything.
这是因为Git在默认情况下并没有假设您希望推入分支及其更改。
Perform the following steps to create a Git repository on a Web server that contains the content of your Web site and that you and other developers can push to.
执行以下步骤可在Web服务器上创建一个包含网站内容且您和其他开发人员可以执行推入的Git存储库。
For example, git-push — force can result in revisions becoming lost in the remote repository.
例如,git -push——force将导致远程仓库中部分修订的丢失。
Sometimes, when I want to push changes to origin, git say, that there are some changes in origin/master branch.
有时候,当我想把变化的起源,吉特说,有一些变化的起源/主支。
Sometimes, when I want to push changes to origin, git say, that there are some changes in origin/master branch.
有时候,当我想把变化的起源,吉特说,有一些变化的起源/主支。
应用推荐