From: Bartosz Date: Mon, 19 Sep 2011 13:05:39 +0000 (+0200) Subject: - howto simply restore all deleted files X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=acba5fa7064cec11a6df344f7dc757acf973a7a8;p=TLD.git - howto simply restore all deleted files --- 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" +