Skip to content

Commit af8d72d

Browse files
committed
doc: git-add: explain inconsistent terminology
I think the fact that git uses these three terms interchangeably is extremely confusing and that it deserves to be noted. Signed-off-by: Julia Evans <[email protected]>
1 parent 16e1a62 commit af8d72d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/git-add.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ exact filename of an ignored file (e.g. `git add ignored.txt`), `git
4545
add` will fail with a list of ignored files. Otherwise it will silently
4646
ignore the file.
4747

48+
[NOTE]
49+
Git uses the terms "staging area", "index" and "cache" interchangeably
50+
for historical reasons.
51+
4852
OPTIONS
4953
-------
5054
`<pathspec>...`::

0 commit comments

Comments
 (0)