From 6b58c5dbe8987fd71668344844acb63cfb647822 Mon Sep 17 00:00:00 2001 From: tiyn Date: Thu, 8 Sep 2022 02:58:41 +0200 Subject: [PATCH] git: added local changes fix --- wiki/git.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wiki/git.md b/wiki/git.md index ce60f47..d473186 100644 --- a/wiki/git.md +++ b/wiki/git.md @@ -29,3 +29,9 @@ If you don't need a bloated web-interface a more basic approach is more than eno - [git-server-docker](./docker-images/jkarlos_-_git-server-docker.md) is a pretty basic docker-container for git. + +## Ignore files having local changes + +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.