git: added local changes fix

master
tiyn 2 years ago
parent 6b58c5dbe8
commit c9f0b7ffa3

@ -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 If you need to make changes to a file that are local you can run
`config update-index --skip-worktree <file>`. `config update-index --skip-worktree <file>`.
Following this the file won't show up as having changes from the upstream. 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>`.

Loading…
Cancel
Save