Skip to content

Instantly share code, notes, and snippets.

@nishinoshake
Last active May 29, 2016 04:37
Show Gist options
  • Save nishinoshake/d82e7a1ef96af048550b to your computer and use it in GitHub Desktop.
Save nishinoshake/d82e7a1ef96af048550b to your computer and use it in GitHub Desktop.
gitでインデックスされているファイルをあえて無視する
#skip file
git update-index --skip-worktree file
#no-skip file
git update-index --no-skip-worktree file
#display all skip files
#"S" means skip
git ls-files -v | grep ^S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment