mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-05 16:18:02 +01:00
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.
This commit is contained in:
committed by
GitHub
parent
751b0d6e82
commit
d8bcbfa644
@@ -153,10 +153,10 @@ Instructions on how to do this can be found on https://git-lfs.github.com.
|
|||||||
Examples
|
Examples
|
||||||
========
|
========
|
||||||
|
|
||||||
Backup all repositories::
|
Backup all repositories, including private ones::
|
||||||
|
|
||||||
export ACCESS_TOKEN=SOME-GITHUB-TOKEN
|
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)::
|
Backup a single organization repository with everything else (wiki, pull requests, comments, issues etc)::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user