diff options
Diffstat (limited to 'Ignoring a file that is already committed.md')
-rw-r--r-- | Ignoring a file that is already committed.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Ignoring a file that is already committed.md b/Ignoring a file that is already committed.md index 33fdfb2..2c06c41 100644 --- a/Ignoring a file that is already committed.md +++ b/Ignoring a file that is already committed.md @@ -2,6 +2,10 @@ tags: - git --- +[[Git]] + +--- + This is where `git rm` comes in: If we add `--cached` it removes a file from the git repository (but it will stay in the working directory). ```bash |