No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-15 23:07:22 -03:00
.gitattributes Initial commit 2025-11-23 22:21:50 -03:00
.gitignore Updated .gitignore 2026-05-15 23:03:17 -03:00
LICENSE 6 2025-11-23 23:03:30 -03:00
README.md 6 2025-11-23 23:03:30 -03:00
requirements.txt Added requirements.txt 2026-05-15 23:07:22 -03:00
SnakeGit.py 5 2025-11-23 22:59:08 -03:00

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.