Last active
March 31, 2023 03:46
-
-
Save lvluu/eb515b84a95f72353a9f02a38ce8cab7 to your computer and use it in GitHub Desktop.
Git ignore files locally
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
| # Locally ignore changed file(s) | |
| git update-index --skip-worktree [PATH] | |
| # Bring it back | |
| git update-index --no-skip-worktree [PATH] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment