A PowerShell module that provides commonly used git aliases.
Install from PowerShell Gallery
Install-Module PSGitAliases -Scope CurrentUser -AllowClobber
RemoteSigned
or Unrestricted
.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
You have to import the module to use PSGitAliases
.
Add below command into your PowerShell profile.
Import-Module PSGitAliases -DisableNameChecking
Then restart your PowerShell. Now you can use Git aliases.
New-Item -ItemType File $profile