我已经git-gui
通过sudo apt-get install git-gui
. 但是我该如何开始呢?尝试使用搜索或git-gui
命令没有找到 Git 的 UI 工具。
Syl*_*eau 56
键入git citool
以启动 git-gui。
如果它给出错误:git: 'citool' is not a git command
,只需安装以下包:git-gui
sudo apt-get install git-gui
Run Code Online (Sandbox Code Playgroud)
在终端类型:
git gui citool
Run Code Online (Sandbox Code Playgroud)
进行一次提交并在完成后返回 shell。如果窗口以除提交以外的任何方式关闭,此命令将返回一个非零退出代码。
git gui citool --amend
Run Code Online (Sandbox Code Playgroud)
自动进入界面的 Amend Last Commit 模式。
git gui citool --nocommit
Run Code Online (Sandbox Code Playgroud)
表现得像普通的 citool,但不是简单地以零退出代码终止提交。它仍然会检查索引是否不包含任何未合并的条目,因此您可以将其用作 git-mergetool 的 GUI 版本。
参考网站
归档时间: |
|
查看次数: |
121334 次 |
最近记录: |