Skip to content

Joaquin6/powershell-git-aliases

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerShell git aliases

license PowerShell Gallery PowerShell Gallery

A PowerShell module that provides commonly used git aliases.

⚙️ Installation

Install from PowerShell Gallery

Install-Module PSGitAliases -Scope CurrentUser -AllowClobber

⚠️ 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 PSGitAliases.

Add below command into your PowerShell profile.

Import-Module PSGitAliases -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

Packages

No packages published

Languages

  • PowerShell 99.8%
  • Batchfile 0.2%