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...
Nesta página do site você pode assistir ao vídeo on-line How to add forgotten files with git commit --amend duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário One Minute Git 01 Dezembro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 138 vezes e gostou 1 espectadores. Boa visualização!