windows powershell 支持git

windows powershell 支持git

1、下载posh-git

https://github.com/dahlbyk/posh-git

用管理员权限打开powershell执行如下命令,启用脚本支持

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Confirm

输入Y确认下一步

进入posh-git的目录,在powershell里执行

./install.ps1

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据