Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 203 Bytes

rm.md

File metadata and controls

6 lines (5 loc) · 203 Bytes

rm 把文件移除git index

  • 仅移除索引

      git rm --cached [file]
      // If you omit the --cached option, it will also delete it from the working tree.
      git rm --cached -r [directory]