Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support configurable base branch for stack operations #19

Open
trotterdylan opened this issue Aug 22, 2022 · 0 comments
Open

Support configurable base branch for stack operations #19

trotterdylan opened this issue Aug 22, 2022 · 0 comments

Comments

@trotterdylan
Copy link
Contributor

Currently all of the plz stack operations assume main is the base branch (actually, the "default" branch configured in GitHub). We should make this configurable so that other branches can act as the base, e.g. release or deploy branches.

The simplest approach would be to support a --base-branch option for the relevant commands, but that can be onerous, so supporting a persistent configuration option may be valuable. Per a user suggestion:

something similar to git’s config, and use:

plz config --global plz.base develop
plz config plz.base develop

which would set that config setting in ~/.gitconfig or .git/config if it were global or not, with the —base=develop being overridable on the command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant