Skip to content

[minion] partio enable restores metadata branch from remote on fresh clones#23

Open
jcleira wants to merge 1 commit intomainfrom
minion/enable-restore-metadata-branch-on-clone
Open

[minion] partio enable restores metadata branch from remote on fresh clones#23
jcleira wants to merge 1 commit intomainfrom
minion/enable-restore-metadata-branch-on-clone

Conversation

@jcleira
Copy link
Member

@jcleira jcleira commented Mar 26, 2026

Objective

When partio enable is run in a freshly cloned repo where no local partio/checkpoints/v1 branch exists but a remote one does, automatically create the local branch tracking the remote. This preserves checkpoint history for developers who clone an existing repo and enables without needing a manual git fetch step.

Acceptance Criteria

  • On a fresh clone, partio enable checks for a remote partio/checkpoints/v1 branch
  • If found, the local branch is created tracking the remote before hooks are installed
  • If no remote branch exists, behavior is unchanged (new branch created on first commit)
  • A message is printed informing the user that existing checkpoint history was restored
  • Documented in the enable command help and onboarding docs

Source

Resolves entireio/cli#511 (changelog 0.4.8)


Automated PR by partio-io/minions · Task: enable-restore-metadata-branch-on-clone

Created by an unattended coding agent. Please review carefully.

Automated by partio-io/minions (task: enable-restore-metadata-branch-on-clone)

Co-Authored-By: Claude <noreply@anthropic.com>
@jcleira
Copy link
Member Author

jcleira commented Mar 26, 2026

Related PR: partio-io/docs#12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant