Support non-default base branch
See original GitHub issueI was reading the docs and was curious as to whether creating stacks off of non-default base branches was possible. I couldn’t find an answer there, so I looked at the code and it seems like not. Would it be possible to make the base branch configurable?
As some potential inspiration, the GitHub CLI supports this in the following way:
gh pr create -B my_base_branch
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Changing the default branch - GitHub Docs
The default branch is the base branch for pull requests and code commits. For more information about the default branch, see "About branches."...
Read more >Base vs default branch in bitbucket version of git
In Bitbucket, the base branch is the last branch that you have selected from the list of branches. If you select another branch...
Read more >GitHub pull request base branch is not the same ... - YouTrack
GitHub always suggests default branch of a repository when creating a pull request and I don't see a reason to change that. New...
Read more >NoDefaultBranchException error regarding the default branch
Atlassian Support · Documentation · Stash Knowledge Base · Miscellaneous ... error regarding the default branch - this branch does not exist ......
Read more >Default branch - GitLab Docs
Protect initial default branches. all tiers. self-managed · Not protected - Both developers and maintainers can push new commits and force push. ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep.
ghstack checkout BLAH
also puts you in a detached stateSure, I’d accept a PR that adds this. Should be relatively simple to add support for a
-B
flag here.