|
# Or turn an existing set of branches into a stack |
|
$ gh stack init --adopt branch1 branch2 branch3 |
but using it results in a deprecation warning
|
// --adopt is deprecated; print a notice and continue normally. |
|
if opts.adopt { |
|
cfg.Warningf("The --adopt flag is deprecated. Existing branches are now adopted automatically.") |
|
cfg.Printf("You can simply run: %s", |
|
cfg.ColorCyan("gh stack init <branch1> <branch2> ...")) |
|
} |
looks like you can literally just remove the --adopt flag from the CLI docs and it would work the same
gh-stack/cmd/root.go
Lines 25 to 26 in 514f5ab
but using it results in a deprecation warning
gh-stack/cmd/init.go
Lines 119 to 124 in 514f5ab
looks like you can literally just remove the
--adoptflag from the CLI docs and it would work the same