From c9f0b7ffa3d999bb60d6bb8edef840323ccbeb51 Mon Sep 17 00:00:00 2001 From: tiyn Date: Thu, 8 Sep 2022 03:10:53 +0200 Subject: [PATCH] git: added local changes fix --- wiki/git.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wiki/git.md b/wiki/git.md index d473186..0924c6e 100644 --- a/wiki/git.md +++ b/wiki/git.md @@ -35,3 +35,6 @@ If you don't need a bloated web-interface a more basic approach is more than eno If you need to make changes to a file that are local you can run `config update-index --skip-worktree `. Following this the file won't show up as having changes from the upstream. +Note that files tagged with this command are checked out sparsly, so you need +to watch out for changes yourself if there are any. +To revert this run `config update-index --no-skip-worktree `.