From 789b5c262e39c339e983cbb37133620c0e213c8f Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 14 Oct 2023 03:09:34 +0200 Subject: [PATCH] git client: added way to list skip-worktree files --- wiki/linux/git_(client).md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wiki/linux/git_(client).md b/wiki/linux/git_(client).md index fffc114..fdb714f 100644 --- a/wiki/linux/git_(client).md +++ b/wiki/linux/git_(client).md @@ -32,6 +32,12 @@ Note that files tagged with this command are checked out sparsly, so you need to watch out for changes yourself if there are any. To revert this run `git update-index --no-skip-worktree `. +Files that are marked this way can be listed by running the following command. + +```sh +git ls-files -v | grep "^S" +``` + ### Authentication via SSH Authentication by default is done via a username and a password.