git 有哪些可以在 Windows Powershell 中使用的 Gitk 替代品?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6625712/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What are some Alternatives to Gitk that can be used in Windows Powershell?
提问by Alex C
I'm using windows powershell to manage git, but am limited in that it can't seem to run the Gitk command. (At least by default)
我正在使用 windows powershell 来管理 git,但受限于它似乎无法运行 Gitk 命令。(至少默认情况下)
Are there any other tools I can use from PS or is there a way I can force PS to interpret the Gitk launch script correctly?
我可以从 PS 使用任何其他工具,或者有什么方法可以强制 PS 正确解释 Gitk 启动脚本?
采纳答案by manojlds
Just make sure C:\Program Files (x86)\Git\bin\gitk
or C:\Program Files (x86)\Git\cmd\gitk.cmd
( change as per where you installed MSYSGIT) is in PATH
只需确保C:\Program Files (x86)\Git\bin\gitk
或 C:\Program Files (x86)\Git\cmd\gitk.cmd
(根据您安装 MSYSGIT 的位置进行更改)在 PATH 中
回答by Matt
I'm a big fan of using Mercurial and Tortoise HG - http://tortoisehg.bitbucket.io/- from PowerShell. A Google came up with this link for Tortoise Git https://tortoisegit.org/
我非常喜欢使用 Mercurial 和 Tortoise HG - http://tortoisehg.bitbucket.io/- 来自 PowerShell。谷歌想出了这个 Tortoise Git 的链接https://tortoisegit.org/