mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-30 17:33:50 +08:00
git-rm: add example (#21948)
This commit is contained in:
@@ -14,3 +14,7 @@
|
||||
- Remove file from repository index but keep it untouched locally:
|
||||
|
||||
`git rm --cached {{path/to/file}}`
|
||||
|
||||
- Reduce the repository to only the `.git` directory:
|
||||
|
||||
`git rm -r .`
|
||||
|
||||
Reference in New Issue
Block a user