smartgitassistant
v1.0.1
Published
Smart Git Assistant CLI tool to improve git flow
Maintainers
Readme
📦 SmartGit Assistant
✨ The Smartest Way to Commit and Push on GitHub — with AI-like Suggestions and a Polished CLI!
🚀 Features
🔍 Auto-detects if there are Git changes.
📦 Stages all changes safely.
💬 Suggests smart commit messages based on the files you changed.
❓ Lets you edit or accept the suggestion.
🚀 Confirms before pushing to remote.
🎨 Beautiful UX with colors, spinners, and emojis.
🛡️ Protects your main branch by warning you before committing!
🛠️ Installation
First, install globally:
npm install -g smartgit
Or if you are developing locally:
git clone https://github.com/a-grade-99/smartgitassistant
cd smartgitassistant
npm install
npm link
smartgit
✅ Now you can run it from anywhere inside a git repo!
📸 Preview Terminal usage preview
🔍 Checking for changes...
📝 Current Git Status:
✨ Stage all changes?
📦 Staging changes...
💡 Suggested commit message:
"feat: implement authentication system"
📝 Edit commit message (or press Enter to accept):
✅ Files staged for commit:
✅ Final commit message:
🚀 Ready to commit and push?
📤 Committing and pushing...
✅ Successfully committed and pushed! 🎉
⚙️ Usage
Just type:
smartgit 👉 Follow the prompts:
See which files changed
Stage changes
Get a suggested commit message
Edit/accept the suggestion
Confirm push
Sit back and relax 😎
🧠 Future Plans
🤖 Real AI-generated commit messages (via ChatGPT API)
📈 Smarter branch detection
📚 Customizable config files
📜 License
MIT License. Made with ❤️ by André G.
