hice un git commit -m "message"
así:¿Por qué 'git commit' no guarda mis cambios?
> git commit -m "save arezzo files"
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: arezzo.txt
# modified: arezzo.jsp
#
no changes added to commit (use "git add" and/or "git commit -a")
Pero después, cuando lo haga git status
que muestra los mismos archivos modificados:
> git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: arezzo.txt
# modified: arezzo.jsp
#
no changes added to commit (use "git add" and/or "git commit -a")
¿qué estoy haciendo mal?
Use 'git commit -am" save arezzo files "' para agregar automáticamente todos los cambios (w.r.t. .gitignore). Es posible que desee agregar solo archivos/directorios específicos: 'git add file.src' – mbx
Posible duplicado: http://stackoverflow.com/questions/2419249/git-commit-all-the-files-using-single-cmd http : //stackoverflow.com/questions/4571106/git-commit-all-files – mbx