`gh stack init` should start up-to-date
Open
feature request
topic: cli - init
- Dominant language
- Go
- Stars
- 1.5k
- Forks
- 70
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 7
Description
`git town hack` always ensures that when you start a new branch, you are up-to-date on the source branch first - this is extremely useful. `gh stack init` should either have the same behavior by default, or offer a (defaultable) flag to do the same.
Contributor guide
Research direction
Start at the `gh stack init` command entry point and trace how it selects and prepares the source branch. Compare that flow with the up-to-date behavior described for `git town hack`, then run the existing CLI tests or command checks. Done means initialization reliably starts from an up-to-date source branch, with the chosen default or flag behavior covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, github, go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100