From 3d95c86f2277193544f19d33963ed94410119486 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 12 May 2025 22:43:34 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9D=97=20PSA=20how=20to=20stop=20noisy=20fil?= =?UTF-8?q?es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PSA.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 PSA.txt diff --git a/PSA.txt b/PSA.txt new file mode 100644 index 0000000..764d87f --- /dev/null +++ b/PSA.txt @@ -0,0 +1,8 @@ +you can ignore files with the following command: + +git update-index --assume-unchanged path/to/instance.cfg + +^ git ignore can only ignore files that are not on the repo at all, it will not respect files that are on the repo and always track changes on them. +As a workaround you can instead use this local command that will make your local repo ignore all changes to a given file. + +To get the relative path of a file for the command, don't bother writing it out by hand, just right click on the file in the github desktop application in there will be a relative file path option to copy from.