aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to '%HOME%/.gitconfig')
-rw-r--r--%HOME%/.gitconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/%HOME%/.gitconfig b/%HOME%/.gitconfig
index 69be6c2..720cf1d 100644
--- a/%HOME%/.gitconfig
+++ b/%HOME%/.gitconfig
@@ -23,6 +23,10 @@
# I think this is only usable on Cygwin, given all the file permission
# madness there:
xx = update-index --add --chmod=+x
+
+ hide = update-index --skip-worktree
+ unhide = update-index --no-skip-worktree
+ hidden = !git ls-files -v | grep --basic-regexp \"^\\([[:lower:]]\\|S\\)\"
[fetch]
prune = true
[log]