1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-04 07:47:45 +02:00

git: added local changes fix

This commit is contained in:
tiyn 2022-09-08 03:10:53 +02:00
parent 6b58c5dbe8
commit c9f0b7ffa3

View File

@ -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 <file>`.
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 <file>`.