Created
May 1, 2023 01:49
-
-
Save usagizmo/688118ec82f4c19e80c58443e3d09b69 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# assume-unchanged: リポジトリが更新された場合、作業ツリー上の更新を破棄する | |
git update-index --assume-unchanged [FILENAME] | |
git update-index --no-assume-unchanged [FILENAME] | |
# skip-worktree: リポジトリが更新された場合、作業ツリー上の更新を保つ | |
git update-index --skip-worktree [FILENAME] | |
git update-index --no-skip-worktree [FILENAME] | |
# Check file ignore status | |
git ls-files -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment