Skip to content

feature: select what will be committed #37

@hrehfeld

Description

@hrehfeld

I see the following options here:

  • commit only single file (setq git-auto-commit-mode-context 'file)
  • commit all (staged and/or unstaged) commits in subtree (subdirectory) (setq git-auto-commit-mode-context 'subtree)
  • commit all (staged and/or unstaged) commits in repo (setq git-auto-commit-mode-context 'repository)
  • commit all (staged and/or unstaged) changes to file and its "companion files", e.g. gtd.org would add (setq git-auto-commit-mode-context '("gtd.archive.org" "inbox.org")

And then also (setq git-auto-commit-mode-staged-only t)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions