How to add forgotten files with git commit --amend

Publicado el: 01 diciembre 2021
en el canal de: One Minute Git
138
1

I often find myself in a situation where I have committed to early and forgot to add necessary files (it's like sending an e-mail without attachment).
In this case if I have not already pushed that commit, I can edit it locally with git commit --amend.

I can't stress that engouh: Only ever do this with local commits which have not already been pushed to a remote repository!

Have fun using git!

More info on https://git-scm.com/book/en/v2/Git-To...


En esta página del sitio puede ver el video en línea How to add forgotten files with git commit --amend de Duración hora minuto segunda en buena calidad , que subió el usuario One Minute Git 01 diciembre 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 138 veces y le gustó 1 a los espectadores. Disfruta viendo!