https://github.com/chengcyber/posh-git-alias
Oh-My-ZSH Git alias in PowerShell
https://github.com/chengcyber/posh-git-alias
git oh-my-zsh powershell
Last synced: about 1 month ago
JSON representation
Oh-My-ZSH Git alias in PowerShell
- Host: GitHub
- URL: https://github.com/chengcyber/posh-git-alias
- Owner: chengcyber
- License: mit
- Created: 2022-02-08T14:03:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-09T14:17:38.000Z (almost 4 years ago)
- Last Synced: 2025-01-19T07:30:00.423Z (about 1 year ago)
- Topics: git, oh-my-zsh, powershell
- Language: PowerShell
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# posh-git-alias
Oh-My-ZSH Git alias in PowerShell
# Usage
```
git clone git@github.com:chengcyber/posh-git-alias.git
```
Create a PowerShell profile(if you don't already have one):
```
New-Item -Type file -Path $PROFILE -Force
```
Open it to edit:
```
notepad $PROFILE
```
Add the following posh:
```
. \git.plugin.ps1
```
Rerun PowerShell or reload your profile immediately:
```
. $PROFILE
```
# Resources
- [git.plugin.zsh](https://github.com/ohmyzsh/ohmyzsh/blob/f0f42828fa6842af631cc3dbf45f5454ea88fa3c/plugins/git/git.plugin.zsh)
- [$profile Gist](https://gist.github.com/dunckr/8334213)
- [AlexZeitler/posh-git-alias](https://github.com/AlexZeitler/posh-git-alias)
# LICENSE
MIT @[chengcyber](https://github.com/chengcyber)