Last active
October 28, 2018 16:04
-
-
Save bartek5186/dd9b0fb1ec287d084f40ee29fc7a252e 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
/* List files with specific flag | |
git ls-files -v | grep "^S" | |
git ls-files -v | |
H cached | |
S skip-worktree | |
M unmerged | |
R removed/deleted | |
C modified/changed | |
K to be killed | |
? other | |
*/ | |
# Hide gitignore file | |
git update-index --assume-unchanged .gitignore | |
# Unhide gitignore file | |
git update-index --no-assume-unchanged .gitignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment