What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-30 16:52:02
git ignore local file changes
# To skip local changes to files managed by git $ git update-index --skip-worktree path/to/file # To restore normal git behaviour $ git update-index --no-skip-worktree path/to/file # assume-unchanged can also be used, it's designed for local files that D... Add solution