Skip to content

Commit 35087e6

Browse files
committed
rm deprecated adopt examples for init
1 parent a121ecf commit 35087e6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎cmd/modify.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ func runModifyAbort(cfg *config.Config) error {
231231
cfg.Printf("The stack may be in an inconsistent state.")
232232
cfg.Printf("Try `%s` to fix, or `%s` + `%s` to recreate.",
233233
cfg.ColorCyan("gh stack rebase"), cfg.ColorCyan("gh stack unstack --local"),
234-
cfg.ColorCyan("gh stack init --adopt"))
234+
cfg.ColorCyan("gh stack init"))
235235
return ErrSilent
236236
}
237237
cfg.Successf("Stack restored successfully")

‎cmd/root.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ locally, then push to GitHub to create your stack of PRs.`,
2323
$ gh stack init
2424
2525
# Or turn an existing set of branches into a stack
26-
$ gh stack init --adopt branch1 branch2 branch3
26+
$ gh stack init branch1 branch2 branch3
2727
2828
# Make changes and commit, then add a branch to the stack
2929
$ gh stack add branch4

0 commit comments

Comments
 (0)