A tiny Python tool that makes Git commits and pushes much easier!
- Clone the repository:
git clone [email protected]:aalbrightpdx/githelper.git ~/.bin/githelper
chmod +x ~/.bin/githelper
- Create a small wrapper so you can run githelper from anywhere:
nano ~/.bin/githelper-cli
- Paste this inside:
#!/bin/bash
python3 ~/.bin/githelper/githelper.py
- ✅ Save and exit (CTRL+O, Enter, CTRL+X), make it executable:
chmod +x ~/.bin/githelper-cli
If you want to run githelper
from anywhere:
-
Add the PATH="$HOME/.bin:$PATH"' to ~/.bashrc:
echo 'export PATH="$HOME/.bin:$PATH"' >> ~/.bashrc
-
Reload your shell:
source ~/.bashrc
✅ Now you can just type githelper
from any Git project!
githelper-cli
It will:
- Show the current Git status
- Confirm before adding and committing
- Prompt you for a commit message
- Confirm again before pushing to GitHub
Safe, fast, and friendly.
MIT License.
See LICENSE
for full details.