From acba5fa7064cec11a6df344f7dc757acf973a7a8 Mon Sep 17 00:00:00 2001 From: Bartosz Date: Mon, 19 Sep 2011 15:05:39 +0200 Subject: [PATCH] - howto simply restore all deleted files --- git-howto.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/git-howto.txt b/git-howto.txt index 38e1e05..d397a69 100644 --- a/git-howto.txt +++ b/git-howto.txt @@ -88,6 +88,9 @@ Please do following in your cloned repo to restore deleted files: git checkout some.file +To restore all your deleted files do: + +git ls-files -d | xargs git checkout -- ============================================================================== 5. How can I add description for new repository? @@ -95,3 +98,4 @@ git checkout some.file Do following: ssh git@git.tld-linux.org setdesc packages/some_package "Some description" + -- 2.46.0