A simple, natural language Git toolkit to speed up your workflow.
Use plain English-style commands like addncommit, readytopush, or launch gitmenu to interact.
- 20+ natural language Git commands
- Interactive terminal menu with
gitmenu - Human-readable help with
githelp - Works on macOS, Linux, and WSL
- Available for Windows PowerShell
- Clone this repo:
git clone https://github.com/aroonsekar/git-shortcuts.git- Add this to your
~/.zshrc:
source ~/git-shortcuts/.git-shortcuts.zsh- Reload your shell:
source ~/.zshrcSave it somewhere safe, like:
C:\Users\yourname\git-shortcuts\git-shortcuts.ps1
PowerShell blocks scripts downloaded from the internet. You must unblock it first:
Option A (GUI):
- Right-click on
git-shortcuts.ps1→ Properties - Check the box “Unblock” at the bottom
- Click Apply → OK
Option B (Command line):
Unblock-File "C:\Users\yourname\git-shortcuts\git-shortcuts.ps1"Open PowerShell as Administrator and run:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUserChoose [Y] when prompted.
To load the shortcuts into your session:
. "C:\Users\yourname\git-shortcuts\git-shortcuts.ps1"To make shortcuts always available:
notepad $PROFILEThen add this line at the bottom of the file:
. "C:\Users\yourname\git-shortcuts\git-shortcuts.ps1"Save and restart PowerShell.
Zsh:
addncommit "Update README"
readytopush "Fix merge conflict and push"
stashit "WIP - new UI layout"
deletemybranch feature/login
gitmenu
githelpPowerShell:
AddAndCommit "Update README"
ReadyToPush "Final bugfixes"
FixMerge
Show-GitMenu
GitHelp| Zsh Command | PowerShell Equivalent | Description |
|---|---|---|
addncommit |
AddAndCommit |
Add all changes and commit with message |
readytopush |
ReadyToPush |
Commit, rebase, and push |
newbranch |
NewBranch |
Create and switch to a new branch |
whatsthestatus |
WhatIsTheStatus |
Show current git status |
whatdidido |
WhatDidIDo |
Show last commit |
deletemybranch |
DeleteMyBranch |
Delete local and remote branch |
gitmenu |
Show-GitMenu |
Interactive CLI menu |
githelp |
GitHelp |
Show help text |
Zsh users also have command autocompletion enabled for these shortcuts.
Created with aroonsekar & ChatGPT.
If you like it, ⭐️ star it — and feel free to fork, contribute, or suggest new commands!