From fa92cc1edd3dff41c8f877d02b013a3e5ccb6965 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 6 Dec 2017 13:59:14 +0100 Subject: .gitconfig: add --skip-worktree aliases --- %HOME%/.gitconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to '%HOME%') 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] -- cgit v1.2.3