git / git-reference

Online Git Reference at http://git.github.io/git-reference/
Other
996 stars 363 forks source link

'rm' and 'mv' description is mixed #104

Open ZvikaZ opened 9 years ago

ZvikaZ commented 9 years ago

'rm' and 'mv' are described in the same section (http://gitref.org/basic/#rm-mv). In the beginning, 'rm' is explained. Then 'mv'. And after these, there is this sentence:"In its normal form the command is used to delete files. But it's often easier to just remove the files off your disk and then run git commit -a, which will also automatically remove them from your index. "

Which gets back to describing 'rm', without mentioning it. It's quite confusing...

And after it, the 'In a nutshell' section mentions only 'rm', and ignores 'mv'.