vs code commit only one file
cmd + shift + p Git: Stage changes (commit the currently open file) cmd + shift + p Git: Commit staged
cmd + shift + p Git: Stage changes (commit the currently open file) cmd + shift + p Git: Commit staged