Commit all the files that are already tracked by git without adding them to staging area Untracked files will not committed to the repo
The --amend
is an command that is used to fix mistakes that was made in the last commit
This can be used to add new files and changes to the commit message as well
Add new files to the last commit without changing the commit message
Important
--amend
commands should only be only used in local copy of repo--allow-empty
flag can be used to make a commit without any changes