The Git help command keeps opening VLC media player.

huangapple go评论61阅读模式
英文:

The Git help command keeps opening VLC media player

问题

我最近在我的新Windows 11笔记本电脑上安装了Git。我测试了标准命令以确保它正常工作,但是使用"git --help"或请求命令的手册页面的任何版本都会导致我的VLC媒体播放器打开,但没有播放任何内容。任何帮助将不胜感激。

我在Google上搜索了Git和VLC媒体播放器,似乎这不是一个常见的问题。我尝试重置媒体播放器的首选项,但它仍然保持打开。

英文:

I recently installed Git on my new Windows 11 laptop. I tested out standard commands to make it's working, but "git <verb> --help" or any version for requesting manual pages on a command cause my VLC media player to open and nothing plays. Any assistance will be greatly appreciated.

I googled Git AND VLC media player and this doesn't seem to be a common issue. I tried resetting the preferences on the media player but it still keeps opening.

答案1

得分: 1

如果在您的环境中更改HTML关联方式有些棘手,您可以通过一些Git配置设置强制使用浏览器。

您可以使用以下命令测试这些配置:

git -c help.browser=firefox -c browser.firefox.path=C:\path\to\firefox.exe -c help.format=web help switch
英文:

If changing the HTML association is somehow tricky in your environment, you can force the use of a browser with some Git configuration settings.

You can test those configuration with:

git -c help.browser=firefox -c browser.firefox.path=C:\path\to\firefox.exe -c help.format=web help switch

huangapple
  • 本文由 发表于 2023年2月6日 12:49:55
  • 转载请务必保留本文链接:https://go.coder-hub.com/75357424.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定