Skip to content

Add --preserve-plugin-branches flag to deploy-dev#568

Open
jeremylenz wants to merge 1 commit into
theforeman:masterfrom
jeremylenz:preserve-plugin-branches
Open

Add --preserve-plugin-branches flag to deploy-dev#568
jeremylenz wants to merge 1 commit into
theforeman:masterfrom
jeremylenz:preserve-plugin-branches

Conversation

@jeremylenz

Copy link
Copy Markdown
Contributor

Summary

  • Adds --preserve-plugin-branches flag to forge deploy-dev
  • When passed, skips git checkout for all plugins, preserving local branches and uncommitted changes across deploy-dev runs
  • Useful when developing on a plugin and re-running deploy-dev without losing your working branch

Usage

forge deploy-dev --preserve-plugin-branches

Test plan

  • Run forge deploy-dev without the flag — plugins should be checked out to upstream HEAD as before
  • Run forge deploy-dev --preserve-plugin-branches with a plugin on a local branch — branch should be preserved

🤖 Generated with Claude Code

When passed, skips git checkout for all plugins so local branches
and uncommitted changes are preserved across deploy-dev runs.

Usage: forge deploy-dev --preserve-plugin-branches

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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