mirror of
https://github.com/cupcakearmy/memoir.git
synced 2024-12-23 00:26:28 +00:00
Compare commits
2 Commits
d8d96e7323
...
2a14b71435
Author | SHA1 | Date | |
---|---|---|---|
2a14b71435 | |||
2deaf804da |
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"index": "Intro",
|
"index": "Intro",
|
||||||
"cli": "CLI",
|
"cli": "CLI",
|
||||||
|
"git": "Git",
|
||||||
"dev_ops": "Dev Ops"
|
"dev_ops": "Dev Ops"
|
||||||
}
|
}
|
||||||
|
11
pages/git/remove-from-remote.md
Normal file
11
pages/git/remove-from-remote.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Remove files from repository
|
||||||
|
|
||||||
|
How to remove files from the repository, without deleting them locally. [Original SO](https://stackoverflow.com/a/1143800)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# File
|
||||||
|
git rm --cached file_to_remove.txt
|
||||||
|
|
||||||
|
# Dir
|
||||||
|
git rm --cached -r directory_to_remove
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user