【问题标题】:How to run a Git command using a PowerShell script [duplicate]如何使用 PowerShell 脚本运行 Git 命令 [重复] 【发布时间】:2015-02-16 11:32:26 【问题描述】: 如何通过 PowerShell 脚本执行 Git 命令? 【问题讨论】: 标签: git powershell 【解决方案1】: 安装Git for Windows,并确保将 Git/bin 文件夹放入您的 Windows 路径变量中。 这是一个很好的链接,可以让您更好地体验 Git 和 PowerShell: Make PowerShell, SSH GitHub and Git suck less on Windows 【讨论】: