Skip to content

Commit e5c27bd

Browse files
jvnsgitster
authored andcommitted
doc: rephrase the purpose of the staging area
Git does not really "store the contents of the next commit" anywhere; rather, you the user use the index to prepare it. Signed-off-by: Julia Evans <[email protected]> [jc; made the change relative to what is already in 'next'] Signed-off-by: Junio C Hamano <[email protected]>
1 parent 929e112 commit e5c27bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-add.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ git add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [-
1717
DESCRIPTION
1818
-----------
1919
Add contents of new or changed files to the index. The "index" (also
20-
known as "staging area") is where Git stores the contents of the next
21-
commit.
20+
known as the "staging area") is what you use to prepare the contents of
21+
the next commit.
2222

2323
When you run `git commit` without any other arguments, it will only
2424
commit staged changes. For example, if you've edited `file.c` and want

0 commit comments

Comments
 (0)