gluons / powershell-git-aliases

:octocat: Oh My Zsh's Git aliases for PowerShell.

Home Page:https://www.powershellgallery.com/packages/git-aliases/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git aliases for PowerShell

license PowerShell Gallery PowerShell Gallery

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

Or from Scoop

scoop bucket add extras
scoop install git-aliases

⚠️ If you haven't allowed script execution policy, set your script execution policy to 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.


⚠️ If you don't have PowerShell profile yet, create it with below command!

New-Item -ItemType File $profile

About

:octocat: Oh My Zsh's Git aliases for PowerShell.

https://www.powershellgallery.com/packages/git-aliases/

License:MIT License


Languages

Language:PowerShell 100.0%