Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gluons/powershell-git-aliases
:octocat: Oh My Zsh's Git aliases for PowerShell.
https://github.com/gluons/powershell-git-aliases
alias aliases git oh-my-zsh posh powershell
Last synced: about 1 hour ago
JSON representation
:octocat: Oh My Zsh's Git aliases for PowerShell.
- Host: GitHub
- URL: https://github.com/gluons/powershell-git-aliases
- Owner: gluons
- License: mit
- Created: 2017-05-31T09:13:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-31T11:30:30.000Z (12 days ago)
- Last Synced: 2025-01-05T08:02:57.393Z (7 days ago)
- Topics: alias, aliases, git, oh-my-zsh, posh, powershell
- Language: PowerShell
- Homepage: https://www.powershellgallery.com/packages/git-aliases/
- Size: 115 KB
- Stars: 431
- Watchers: 3
- Forks: 48
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - gluons/powershell-git-aliases - :octocat: Oh My Zsh's Git aliases for PowerShell. (PowerShell)
README
# Git aliases for PowerShell
[![license](https://img.shields.io/github/license/gluons/powershell-git-aliases.svg?style=flat-square)](./LICENSE)
[![PowerShell Gallery](https://img.shields.io/powershellgallery/v/git-aliases.svg?style=flat-square)](https://www.powershellgallery.com/packages/git-aliases/)
[![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/git-aliases.svg?style=flat-square)](https://www.powershellgallery.com/packages/git-aliases/)A [PowerShell](https://microsoft.com/powershell) module that provide partial **[Git](https://git-scm.com/)** aliases from [Oh My Zsh](https://github.com/robbyrussell/oh-my-zsh)'s [git plugin](https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/git/).
> ℹ️ This module will replace some built-in PowerShell aliases with our Git aliases to **prevent** [conflict](https://github.com/gluons/powershell-git-aliases/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3Aconflict).
## ⚙️ Installation
Install from [PowerShell Gallery](https://www.powershellgallery.com/packages/git-aliases/)
```powershell
Install-Module git-aliases -Scope CurrentUser -AllowClobber
```Or from [Scoop](https://github.com/ScoopInstaller/Extras/blob/master/bucket/git-aliases.json)
```powershell
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`.
```powershell
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
```## 🛂 Usage
You have to import the module to use `git-aliases`.
Add below command into your PowerShell profile.
```powershell
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!
```powershell
New-Item -ItemType File $profile
```