Git
您可以在使用 Git 的项目中使用Gerrit 代码审查工具。
开始使用 Git
- Commit your first change
- Create VCS repositories for new projects
- Git Tools
- Initialize Git repositories
- Set up version control systems
- Use Git for Windows
- Use Git with Subversion
- Use common VCS functions
处理当前文件
要处理当前文件,请访问Tools >Git >Current File 。
使用当前项目
要使用当前项目,请访问Tools >Git >Current Project Directory 。
使用本地版本库
要使用本地版本库,请访问Tools >Git >Local Repository 。
- Apply patches
- Interactive rebase
- git am
- git branch
- git clean
- git commit
- git diff
- git log
- git merge
- git reflog
- git reset
- git stash
- git status
使用远程版本库
要使用远程版本库,请访问Tools >Git >Remote Repository 。
管理远程仓库
要管理 Git 提供的远程版本库,请访问Tools >Git >Remote Repository >Manage Remotes 。双击远程仓库的名称和 URL 进行编辑。
支持以下操作:
菜单项 | 菜单项 |
---|---|
Refresh | 刷新远程仓库列表。 |
Add | 添加新的远程版本库。 |
Fetch | 从远程版本库中获取所有分支和变更信息。 |
Push | 向远程版本库推送已提交的变更。 |
Remove | 删除远程仓库 |
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.