No description
- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitattributes | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
| SnakeGit.py | ||
SnakeGit — Versión con fix de Commit sin Add
Esta versión mejora la experiencia de usuario al ejecutar un commit sin haber hecho "Git Add" previamente.
🟢 Cambios realizados en esta versión
✔ 1. Se detecta cuando el usuario intenta commitear sin hacer add
Antes:
- GitPython lanzaba un error como: "fatal: nothing added to commit but untracked files present"
Ahora:
- Se muestra un mensaje limpio: “No hay archivos agregados al área de staging. Hacé clic en 'Git Add .' antes de commitear.”
✔ 2. Se creó un handler especial para "nothing added to commit"
Evita que aparezca un stacktrace o un messagebox feo.
✔ 3. Se mantiene detección de commits vacíos
También se intercepta el mensaje:
- “nothing to commit, working tree clean”
✔ 4. No se tocó la interfaz para mantener compatibilidad visual
Este cambio es exclusivo del sistema de errores.
✔ 5. Se agregó la MIT License (LICENSE)
🚀 Funcionalidades
- Git Status
- Git Add
- Commit (con validación total)
- Pull / Push
- Interfaz moderna con ttkbootstrap
🛠 Instalación
pip install gitpython ttkbootstrap
▶️ Ejecución
python SnakeGit.py
📄 Licencia
MIT License.