How can I configure visual studio code to commit to git on save? I saw it is possible to configure a task to compile on save. But I would like to commit when a file is saved. Is there a similar task for this?
Summary:
- Write on a versioned file
- Save
- Trigger the task
- The task commit the change with a generic message (a timestamp is fine)
Bonus before commit if possible:
- Compile
- Run tests
I added the agnostic tag because I would like to be able to do this in C#, F#, TS, Python or else if possible.
Inspired from visual studio code compile on save