- Si quieres firmar un commit, hay que meter el flag -m:
git commit -S -m "commit_message"
- Si hiciste un commit pero lo quieres deshacer y mantener los cambios que habia en tu arbol de pendientes par luego commitearlos, basta con hacer:
git reset HEAD^Con esto ^ vas al commit inmediatamente anterior al que tenias en tu rama local.
- Si quieres hacer merge con una rama pero no commitear al instante
git merge develop --no-commit- Si quieres cambiar el comentario del ultimo commit
git commit --amend -S -m "nuevomensaje"git push -f origin <tu_rama>
No hay comentarios:
Publicar un comentario