Gerrit 简明教程
Gerrit - Update Master
您可以使用以下命令使主分支保持最新。git-pull 命令从另一个本地分支获取或与另一个存储库集成。
You can make the master branch up-to-date using the following command. The git-pull command fetches from another local branch or integrates with another repository.
git pull origin master

-
The command will pull changes from the origin remote (URL of remote to fetch from), master branch and merge the changes to local checked-out branch.
-
The origin master is a cached copy of the last pulled from the origin.
-
Git pull is a combination of git fetch (fetches new commits from the remote repository) and git merge (integrates new commits into local branch).
-
Git pull merges the local branch with the remote branch by default.