git commit some usefull command for git append to previous commit git add <file> or git add . git commit --amend # without message git commit --amend --no-edit # with message git commit --amend -m "Your new commit message"