may as well sum up what mv does too
Brent Beer committed
Nov 10, 2015 at 09:44 UTC
ffc747abac4fdee9a08664ba57845a3979434d34
1 file changed
+1
-3
basic/index.html
+1
-3
@@ -816,12 +816,10 @@ nothing to commit (working directory clean)
816
if it's easier, feel free.
817
</p>
818
819
-
820
-
819
<p class="nutshell">
820
<strong>In a nutshell</strong>,
821
you run <code>git rm</code> to remove files from being tracked in Git. It
824
- will also remove them from your working directory.
822
+ will also remove them from your working directory. If you run <code> git mv</code> it will do essentially the same as <code>git rm --cached</code>, move the file on disk and run <code>git add</code> on the new file.
823
</p>
824
825
</div>