summaryrefslogtreecommitdiff
path: root/Ignoring a file that is already committed.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-06-27 10:56:03 +0200
committerJasper Ras <jras@hostnet.nl>2025-06-27 10:56:03 +0200
commita9886bf2f8a35369a2c42070c5f83504dfab2bc5 (patch)
treed078b542f271bc2d16d756a3eb5d1ebce65f0043 /Ignoring a file that is already committed.md
parentfbb81e5f2c5542d86ffbb0cb8e05ce2640ed65de (diff)
vault backup: 2025-06-27 10:56:02
Diffstat (limited to 'Ignoring a file that is already committed.md')
-rw-r--r--Ignoring a file that is already committed.md4
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