Skip to content

Commit 1f0cf3f

Browse files
committed
replaced index with staging area in section 2.2
1 parent e61c33e commit 1f0cf3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/02-git-basics/sections/recording-changes.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ Changes to be committed:
521521
----
522522

523523
The next time you commit, the file will be gone and no longer tracked.
524-
If you modified the file and added it to the index already, you must force the removal with the `-f` option.
524+
If you modified the file and added it to the staging area already, you must force the removal with the `-f` option.
525525
This is a safety feature to prevent accidental removal of data that hasn't yet been recorded in a snapshot and that can't be recovered from Git.
526526

527527
Another useful thing you may want to do is to keep the file in your working tree but remove it from your staging area.

0 commit comments

Comments
 (0)