diff --git a/basic/index.html b/basic/index.html index 82d9772..bce78de 100644 --- a/basic/index.html +++ b/basic/index.html @@ -701,11 +701,13 @@ M hello.rb included in the next commit snapshot, thereby effectively deleting it.
By default, a git rm file will remove the file from the
- staging area entirely and also off your disk (the working directory).
git rm --cached
+ .
@@ -715,7 +717,7 @@ M hello.rb
snapshot and another file was added to the next one and the contents are
similar, Git figures it was most likely a rename. So, although the
git mv command exists, it is superfluous - all it does is a
- git rm, moves the file on disk, then runs a
+ git rm --cached, moves the file on disk, then runs a
git add on the new file. You don't really need to use it, but
if it's easier, feel free.