Skip to content

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

@bradmont

Description

@bradmont

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions