英文:
The Git help command keeps opening VLC media player
问题
我最近在我的新Windows 11笔记本电脑上安装了Git。我测试了标准命令以确保它正常工作,但是使用"git
我在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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论