Introduction
When you change files in a project, you usually need to tell git which files to save in the next snapshot. The git commit -a command helps you save all changed tracked files without manually marking them first.
When you have edited multiple files and want to save all changes quickly.
When you want to avoid the extra step of marking files before saving.
When you forgot to stage files but want to commit all changes immediately.
When you want a faster workflow for small edits across many files.
When you want to commit tracked files only, skipping new untracked files.