Skip to content

Commit a7677f4

Browse files
authored
Clarify git stash command behavior
1 parent 485c1d4 commit a7677f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/commits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ Dropped refs/stash@{0} (a3dd9b60b18c2....)
851851
$ git stash apply <stash_id>
852852
```
853853

854-
- `git stash` stashes files that are **already added to the index**.
854+
- By default, `git stash push` stashes files that are **already added to the index**.
855855
- This behaviour can be overwritten with the `--keep-index` option.
856856

857857
---

0 commit comments

Comments
 (0)