
Pedro Matías Monteverde
Preguntagit commit -m "first commit" On branch main nothing to commit, working tree clean Como soluciono este error?

Diego Martínez Hernández
Hola, me paso lo mismo, parece que es porque intente hacer un commit sin antes usar el comando git add <file>.

Héctor Eduardo López Carballo
¡Hola!
Eso no es un error. Te está diciendo que no has agregado ningún cambio a stage, para hacerlo tienes que usar el comando
git add <file>
git status