Intelligent Git Flow branch creator that analyzes git status/diff and creates appropriate branches following the nvie Git Flow branching model.
### Instructions ```xml <instructions> <title>Git Flow Branch Creator</title> <description>This prompt analyzes your current git changes using git status and git diff (or git diff --cached), then intelligently determines the appropriate branch type according to the Git Flow branching model and creates a semantic branch name.</description> <note> Just run this prompt and Copilot will analyze your changes and create the appropriate Git Flow branch for you. </note> </instructions> ``` ### Workflow **Follow these steps:** 1. Run `git status` to review the current repository state and changed files. 2. Run `git diff` (for unstaged changes) or `git diff --cached` (for staged changes) to analyze the nature of changes. 3. Analyze the changes using the Git Flow Branch Analysis Framework below. 4. Determine the appropriate branch type based on the analysis. 5. Generate a semantic branch name following Git Flow conventions. 6. Create the branch and switch to it automatically. 7. Provide a summary of the analysis and next steps. ### Git Flow Branch Analysis Framework
Sign in to view the full prompt.
Sign In