windows - 如何在没有 Git Bash 或 GUI 的情况下在 Windows 10 上安装 git?

标签 windows git powershell git-for-windows

我正在尝试在 Windows 10 上安装 Git,但没有 Git Bash 或 GUI。我想在 PowerShell 中使用 Git,我不想让我的电脑膨胀。我知道安装大小很小,但这不是问题。

我已经尝试通过 Windows 的 git-SMC/Git 安装程序几次,但似乎我无法选择退出 GUI 和 Bash。知道我该怎么做吗?也许巧克力有什么用?

提前致谢!

最佳答案

您可以使用 MinGit
MinGit 在 Git for Windows 存储库中提供,因此我认为它具有 Microsoft 官方支持
https://github.com/git-for-windows/git/releases
它没有预装 Git Bash、GitK 或 Vi 等。

关于windows - 如何在没有 Git Bash 或 GUI 的情况下在 Windows 10 上安装 git?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62153958/

相关文章:

python - autopep8 似乎没有找到配置文件?

powershell - 从一个导入 csv 将多个用户添加到多个组

windows - 使用带有 logstash 和 Windows 文件的 grok 过滤器的问题

C++/Qt : how to access windows registry remotely?

git - 不小心创建了具有现有名称的新分支

powershell - Powershell错误验证

c# - C# 中 Pipeline 和 PowerShell 类的区别

windows - JavaFX ComboBox 在 Windows 10 上没有响应

windows - Windows下如何自动启动selenium节点

git - 如何在 Gitolite 中实现提交后钩子(Hook)?