git-auto-commit-mode icon indicating copy to clipboard operation
git-auto-commit-mode copied to clipboard

Auto-committing source files created with org-babel-tangle?

Open bradmont opened this issue 5 months ago • 0 comments

Hey, I love and use the heck out of auto-commit-mode. I recently severely broke my config, to the point that none of the standard debug methods could fix it and I had to roll back my config files.

This was inconvenient, though, because I use literate config. The .org files were all tracked, but I hadn't checked in my generated .el files for probably a year, so I had to use a completely separate emacs config to open and then tangle the .org files.

Is there a way to get git-auto-commit-mode to also commit the tangled source file? Maybe some way to call it from a hook on org-babel-tangle?

Thanks!

bradmont avatar Jul 19 '25 18:07 bradmont