Powershell 下的 git 自动补全

Powershell(Windows) 下实现 git 自动补全,可以通过 Posh-Git

1
2
3
4
5
6
7
8
9
# 安装
Install-Module -Name posh-git -Repository PSGallery -Scope CurrentUser

# 配置 $PROFILE
Add-Content -Path $PROFILE -Value @'
# posh-git
Import-Module -Name posh-git

'@
作者

Michael Ding

发布于

2024-11-10

更新于

2024-11-10

许可协议