Beautiful, smart, and safe git shortcuts that make you faster every day.
gs β pretty git status
gq β quick conventional commit + validation
gqa β smart automated commit (analysis + split modes)
gl β pretty git logcurl -fsSL https://raw.githubusercontent.com/parthivendra/inspire-git-toolkit/main/install.sh | bashThen reload your shell:
source ~/.bashrc # or ~/.zshrcmkdir -p ~/.local/share
curl -o ~/.local/share/inspire-git-toolkit.sh \
https://raw.githubusercontent.com/parthivendra/inspire-git-toolkit/main/inspire-git-toolkit.sh
echo 'source ~/.local/share/inspire-git-toolkit.sh' >> ~/.bashrc # or ~/.zshrc
source ~/.bashrcinspire update # update to latest version
inspire uninstall # remove toolkit
inspire version # show installed version
- Clean, colorized output
- Shows current branch
- Displays concise working tree status
- Stages all changes
- Enforces Conventional Commits
- Pushes automatically to current branch
- Format:
<type>: <description> - Minimum 10 characters in description
- Rejects vague messages like
update,fix,misc
feat, fix, docs, style, refactor, test,
chore, perf, build, ci, revert
Fire-and-forget intelligent commit system.
Automatically:
- Analyzes changes
- Groups by module and file type
- Generates meaningful commit messages
- Pushes to remote
gqa # Smart mode (auto or interactive)
gqa -n # Dry-run (preview only)
gqa -f # Force commit (bypass all checks)
gqa -f -n # Preview force mode| Condition | Behavior |
|---|---|
| 1 file | Auto commit |
| All low-risk files | Auto commit |
| Single module | Auto commit |
| Multiple modules | Interactive split |
| High complexity | Stops (manual commit recommended) |
featβ only new filesfixβ only modificationschoreβ mixed / deletes / renames
Tags:
[gqa]β automatic[split:gqa]β split commits[force:gqa]β force mode
- Compact graph view
- Shows last 10 commits
- Includes branches and tags
gqa
gqa -f
gq "feat: add login page with validation"
gs
gl- Git
- Bash 4+
macOS users:
brew install bashPRs are welcome! Especially for:
- Zsh/Fish completion support
- Better file-type detection
- Windows (Git Bash) support
- Performance improvements
Combine navigation + environment activation + git status into one command.
# ================================================================
# Custom Workspace Shortcuts
# Add these to your inspire-git-toolkit.sh or ~/.bashrc
# ================================================================
myproject() {
local target="/path/to/your/project/folder"
if [[ ! -d "$target" ]]; then
echo -e "${RED}β Directory not found: $target${RESET}"
return 1
fi
cd "$target" || return 1
# Optional: activate conda environment (if available)
if command -v conda >/dev/null 2>&1; then
conda activate myproject 2>/dev/null || true
fi
# Show git status
gs
echo ""
echo -e "${GREEN}π Workspace ready. Build something meaningful.${RESET}"
}- Instant project navigation
- Auto environment setup
- Immediate git visibility
- Faster context switching
- Name functions after projects β
backend,ml,portfolio - Combine with
gqafor 1-command workflow - Create multiple workspace shortcuts
source venv/bin/activate 2>/dev/null || truecode . 2>/dev/null || truebackend() { cd ~/code/backend && gs; }
frontend() { cd ~/code/frontend && gs; }Inspire is built around one idea:
Reduce friction between writing code and committing it.
Made with intent by Parthivendra Singh π https://github.com/parthivendra