From a9886bf2f8a35369a2c42070c5f83504dfab2bc5 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Fri, 27 Jun 2025 10:56:03 +0200 Subject: vault backup: 2025-06-27 10:56:02 --- Ignoring a file that is already committed.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Ignoring a file that is already committed.md') 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 -- cgit v1.2.3