FG
💻 Software

Emacs + git: auto commit every 5 minutes

Fresh6 days ago
Mar 15, 20264359 views
Confidence Score0%
0%

Problem

How can I set up emacs to automatically git commit every time I save an open file or periodically?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Emacs + git: auto commit every 5 minutes

Low Risk

If you wanted to commit upon every save, you'd do: Likely you could just use But, you'll want to add some checks to make sure it's a part of the set of files you want to commit, otherwise every buffer you save will be added to a repository.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment