From d8bcbfa644ca67b6ced53cef98f207f48ba5bce0 Mon Sep 17 00:00:00 2001 From: wouter bolsterlee Date: Thu, 27 Aug 2020 17:01:56 +0200 Subject: [PATCH] Include --private flag in example By default, private repositories are not included. This is surprising. It took me a while to figure this out, and making that clear in the example can help others to be aware of that. --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index b13739c..7edb74f 100644 --- a/README.rst +++ b/README.rst @@ -153,10 +153,10 @@ Instructions on how to do this can be found on https://git-lfs.github.com. Examples ======== -Backup all repositories:: +Backup all repositories, including private ones:: export ACCESS_TOKEN=SOME-GITHUB-TOKEN - github-backup WhiteHouse --token $ACCESS_TOKEN --organization --output-directory /tmp/white-house --repositories + github-backup WhiteHouse --token $ACCESS_TOKEN --organization --output-directory /tmp/white-house --repositories --private Backup a single organization repository with everything else (wiki, pull requests, comments, issues etc)::