Skip to content

Commit e48d363

Browse files
committed
chore: explain the autoApplyIfNeeded config in --help
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
1 parent d6b7e8c commit e48d363

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

git-stacked-rebase.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,7 @@ git-stacked-rebase <branch>
970970
971971
1. will edit/create the todo & will execute the interactive rebase (in the latest branch),
972972
2. but will not apply the changes to partial branches until --apply is used.
973+
2.1 unless autoApply is enabled via \`git config [--global] ${configKeys.autoApplyIfNeeded} true'.
973974
974975
975976
git-stacked-rebase <branch> [-a|--apply]
@@ -981,8 +982,9 @@ git-stacked-rebase <branch> [-a|--apply]
981982
982983
git-stacked-rebase <branch> [--push|-p --force|-f]
983984
984-
will checkout each branch and will push --force.
985-
will NOT have any effect if --apply was not used yet.
985+
1. will checkout each branch and will push --force,
986+
2. but will NOT have any effect if --apply was not used yet.
987+
2.1 unless autoApply is enabled.
986988
987989
988990
git-stacked-rebase <branch> [-v|--view-todo|--view-only]

0 commit comments

Comments
 (0)