Last active
January 31, 2019 09:06
-
-
Save jbutko/6ecf189f2a63144218f914f9e10cd353 to your computer and use it in GitHub Desktop.
Git: useful commands
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
# ignore files locally | |
git update-index --assume-unchanged file | |
# or | |
git update-index --skip-worktree file | |
# to revert | |
git update-index --no-assume-unchanged file | |
git update-index --no-skip-worktree package-lock.json | |
# properly rename caseSensitive folders | |
git mv casesensitive tmp | |
git mv tmp CaseSensitive | |
# via https://stackoverflow.com/a/11183844/3151019 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment