We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d5b158 commit b0d9abbCopy full SHA for b0d9abb
book/02-git-basics/sections/recording-changes.asc
@@ -533,7 +533,7 @@ Changes to be committed:
533
----
534
535
The next time you commit, the file will be gone and no longer tracked.
536
-If you modified the file and added it to the staging area already, you must force the removal with the `-f` option.
+If you modified the file or had already added it to the staging area, you must force the removal with the `-f` option.
537
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.
538
539
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