当前位置: 首页 > 工具软件 > posh-git > 使用案例 >

posh-git

董宜然
2023-12-01

https://github.com/dahlbyk/posh-git#step-2-import-posh-git-from-your-powershell-profile

$profile.AllUsersCurrentHost

C:\Program Files\PowerShell\7-preview\Microsoft.PowerShell_profile.ps1

 

Import-Module 'C:\Users\clu\source\repos\GitHub\Other\posh-git\src\posh-git.psd1'

 

然后把这个文件复制到powershell的路径

phttps://github.com/chucklu/Scripts/blob/master/Powershell/Microsoft.PowerShell_profile.ps1

转载于:https://www.cnblogs.com/chucklu/p/11606179.html

 类似资料: