Skip to content

Instantly share code, notes, and snippets.

@czwen
Created October 31, 2021 14:10
Show Gist options
  • Save czwen/4af873fb8b602a444e342dbeef152e62 to your computer and use it in GitHub Desktop.
Save czwen/4af873fb8b602a444e342dbeef152e62 to your computer and use it in GitHub Desktop.
skip local changes
git update-index --skip-worktree /path/to/file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment