Skip to content

Commit 683a179

Browse files
targospriyank-p
authored andcommitted
git-node-land: mention the "edit" rebase option
1 parent 75f2b21 commit 683a179

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/landing_session.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ class LandingSession extends Session {
100100
const { upstream, branch } = this;
101101
cli.log(
102102
`There are ${match[1]} commits in the PR.\n` +
103-
`Please run \`git rebase ${upstream}/${branch} -i\` ` +
104-
'and use `git node land --amend` to amend the commit messages');
103+
`Please run \`git rebase ${upstream}/${branch} -i\`, put "edit" on ` +
104+
'every commit that\'s gonna stay and use `git node land --amend` to ' +
105+
'amend the commit messages');
105106
// TODO: do git rebase automatically?
106107
}
107108

0 commit comments

Comments
 (0)