diff options
author | Brent Beer <brentbeer@github.com> | 2015-11-10 20:44:29 +0300 |
---|---|---|
committer | Brent Beer <brentbeer@github.com> | 2015-11-10 20:44:29 +0300 |
commit | ffc747abac4fdee9a08664ba57845a3979434d34 (patch) | |
tree | 58e6689cf01ede169980ff32abbc4532234fc8e6 | |
parent | 1492b3caaab77c51ba8e43e213d9af6658d9654a (diff) |
may as well sum up what mv does tooclearly-describe-rm-mv
-rw-r--r-- | basic/index.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/basic/index.html b/basic/index.html index 89ebc8e..8fe5e1d 100644 --- a/basic/index.html +++ b/basic/index.html @@ -816,12 +816,10 @@ nothing to commit (working directory clean) if it's easier, feel free. </p> - - <p class="nutshell"> <strong>In a nutshell</strong>, you run <code>git rm</code> to remove files from being tracked in Git. It - will also remove them from your working directory. + 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. </p> </div> |