Skip to content

Commit 07d573e

Browse files
committed
update diffIndexGenerateCommit.ts
1 parent 046a661 commit 07d573e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cli/diffIndexGenerateCommit.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Check Git changes, generate a commit message, and run Git commit.
1212
1313
Options:
1414
--cached Use only staged changes (equivalent to git --cached).
15+
If the flag is omitted, then the standard \`git status\` logic is followed:
16+
look for staged changes and use them, otherwise use unstaged changes.
1517
--help, -h Show this help and exit.`;
1618

1719
/**

0 commit comments

Comments
 (0)