aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-12-06 13:59:14 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2017-12-06 13:59:14 +0100
commitfa92cc1edd3dff41c8f877d02b013a3e5ccb6965 (patch)
treef8e89bf96477a84f7c27b7aeb7da290e785eacf4 /%HOME%
parent.gitconfig: install LFS (diff)
downloadlinux-home-fa92cc1edd3dff41c8f877d02b013a3e5ccb6965.tar.gz
linux-home-fa92cc1edd3dff41c8f877d02b013a3e5ccb6965.zip
.gitconfig: add --skip-worktree aliases
Diffstat (limited to '%HOME%')
-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]