Skip to content

AlexZeitler/posh-git-alias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

posh-git-alias

post-git-alias provides Git aliases as PowerShell functions for use with posh-git.

They are the PowerShell counterpart to the Git aliases I'm using on Linux / OS X.

Installation / usage

Just clone this repository and source the posh-git-alias.ps1 in your PowerShell Profile:

git clone git@github.com:AlexZeitler/posh-git-alias.git

Find your PowerShell Profile:

C:\$PROFILE
# returns:
# C:\Users\AlexZeitler\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

Edit this file:

C:\Notepad $PROFILE

Add this line at the end of your Microsoft.PowerShell_profile.ps1 file:

. <PATHTOTHEFILE>\posh-git-alias.ps1

Re-run PowerShell or reload your Profile:

C:\. $PROFILE

If you find any bugs, please file an issue or send me a PR.

About

Git aliases as PowerShell functions for use with posh-git

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published