Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
….push default, branchDelete.remote) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…emote conditional on settings Wire checkout_fetch and branch_delete_remote settings (added in previous step) into the actual execution paths so remote operations only happen when the corresponding setting is enabled. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add a new `daft config` command with a `remote-sync` subcommand for configuring the three remote sync settings (checkout.fetch, checkout.push, branchDelete.remote). Supports both non-interactive shortcuts (--on, --off, --status, --global) and an interactive ratatui TUI with radio group presets and individual checkbox toggles. Also adds `config_set_global` to GitCommand for writing global git config values. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Warns users when none of the three remote-sync keys (checkout.fetch, checkout.push, branchDelete.remote) are explicitly configured, so they know the defaults have changed and can run `daft config remote-sync`. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add `daft config` to docs.rs help output, suggest.rs typo suggestions, bash/zsh/fish shell completions, xtask man page generation, and commit the generated daft-config.1 man page. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add six YAML test scenarios verifying the local-first defaults (no fetch/push/remote-delete by default) and --local/--remote flag overrides. Also add daft-start and daft-go symlinks to the dev setup script so the daft-start command is available in test environments. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add Remote Sync section to configuration guide covering daft.checkout.fetch, daft.checkout.push, daft.branchDelete.remote (all default false). Create daft-config CLI reference page. Update daft-start, daft-go, and daft-remove to document --local/--remote flags. Update SKILL.md with local-first defaults and daft config remote-sync command. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- checkout/direnv: enable fetch explicitly since checkout no longer fetches - checkout/local-first-start: use git-worktree-checkout -b (daft-start not in CI PATH) - checkout/local-flag: same daft-start → git-worktree-checkout -b fix - config/remote-custom: enable push/fetch explicitly to test custom remote behavior - test_config_defaults: verify new default (no push) - test_config_remote_custom: enable push/fetch before testing custom remote - test_checkout_direnv: enable fetch before testing remote content Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
start,checkout,remove) no longer fetch, push, or delete remote branches unless opted indaft config remote-syncinteractive TUI to configure remote sync behavior (Full sync / Local only / Custom), with--on/--off/--statusnon-interactive shortcuts--localflag tostart/checkout/goand--local/--remoteflags toremove/branch-deletefor per-invocation overridesdaft doctormigration check when no remote-sync settings are configuredFixes #329
Test plan
--localand--remoteflag overridesdaft config remote-syncTUI,--on,--off,--status🤖 Generated with Claude Code