Commit only specific files
Commits the current content of the given tracked files, leaving any other staged change out of the commit.
git commit -m "message" -- filesEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/git-commit.md), licensed under CC BY 4.0.