Git aliases for PowerShell
A PowerShell module that provide partial Git aliases from Oh My Zsh's git plugin.
ℹ️ This module will replace some built-in PowerShell aliases with our Git aliases to prevent conflict.
⚙️ Installation
Install from PowerShell Gallery
Install-Module git-aliases -Scope CurrentUser -AllowClobber
RemoteSigned
or Unrestricted
.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
🛂 Usage
You have to import the module to use git-aliases
.
Add below command into your PowerShell profile.
Import-Module git-aliases -DisableNameChecking
Then restart your PowerShell.
Now you can use Git aliases.
New-Item -ItemType File $profile