Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automatically do git commits #46

Open
xbc5 opened this issue Jun 16, 2023 · 0 comments
Open

automatically do git commits #46

xbc5 opened this issue Jun 16, 2023 · 0 comments
Labels
feat A new feature

Comments

@xbc5
Copy link
Owner

xbc5 commented Jun 16, 2023

Firstly, look for packages that do this job: e.g. ryuslash/git-auto-commit-mode.

CAVEAT: once you save, it's in your git commit history. You save a lot.

Use the file name in the commit: "created|modified foo.org" or "created|modified title" if you intend to use the title in the file name as per #43. I prefer the second.

Truncate long file name with ellipses, and put the full name in the body.

Trigger the commit on save. You will need to handle multiple files in some cases, which means that you will need to think about how to title the commit.

This is incompatible with #26 -- so choose one or the other.

Consider applying automatic commits to some directories, but not others (e.g agenda, but not concept).

@xbc5 xbc5 added the feat A new feature label Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat A new feature
Projects
None yet
Development

No branches or pull requests

1 participant