SyntaxFix
Write A Post
Hire A Developer
Questions
Use the -o option.
-o
git commit -o path/to/myfile -m "the message"
-o, --only commit only specified files