⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion templates/commands/specify.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ Given that feature description, do this:
- Remote branches: `git ls-remote --heads origin | grep -E 'refs/heads/[0-9]+-<short-name>$'`
- Local branches: `git branch | grep -E '^[* ]*[0-9]+-<short-name>$'`
- Specs directories: Check for directories matching `specs/[0-9]+-<short-name>`
- Use the highest branch number found across all sources, or if none exists, set the number to one more than the count of existing specs

c. Determine the next available number:
- Extract all numbers from all three sources
- Extract all numbers from all four sources
- Find the highest number N
- Use N+1 for the new branch number

Expand Down