Skip to content

Add --sync and --config-reset; revamp docs & usage - #2

Merged
Djuuu merged 5 commits into
mainfrom
feature/config-options
Jul 14, 2026
Merged

Djuuu merged 5 commits into
mainfrom
feature/config-options

Conversation

@Djuuu

@Djuuu Djuuu commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Summary

Builds on the per-branch context configuration with two new capabilities and a documentation overhaul:

  • --sync (-S) — turn a branch's context into a shared preset where every member references all the others. Works standalone or as a modifier on an --config-add/--config-clear/--config-toggle edit, propagating that edit across the whole preset.
  • --config-reset (-Z) — remove all branch context configuration from the repository, after an interactive confirmation.
  • Revamped README.md and usage(), plus a new Lazygit integration section with example log commands and context-management keybindings.

Djuuu added 5 commits July 12, 2026 17:04
Remove all branch context configuration from the repository at once.
Introduce --sync (-S), which mirrors a branch's context across the whole
"preset" it defines: every member ends up referencing all the others.
It works both standalone and right after a --config-add/-clear/-toggle edit.

Removing a branch from a preset (via toggle/clear) then syncing detaches
it from every preset member, conserving only its unrelated context.
Clearing a branch's whole context tears the entire preset down.

Replaces and expands previous `--config-sync` option.
@Djuuu
Djuuu marked this pull request as ready for review July 14, 2026 10:51
@Djuuu
Djuuu merged commit 30d6f16 into main Jul 14, 2026
2 checks passed
@Djuuu
Djuuu deleted the feature/config-options branch July 14, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant