Sublime Forum

How to enable auto git commit when I press 'ctrl+s'?

#1

Hi All,

I’m wondering is there any way that I can enable git commit automatically when save command is triggered on WINDOWS. For example, when I press ‘ctrl+s’, or anytime the file is saved, the git commit can be enabled automatically without any input. Thanks.

0 Likes

#2

I know this isn’t what you want to hear, but… why would you want such a semantic? Commits should be much larger than save changes, with describable intent behind each one.

1 Like