-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
46 lines (32 loc) · 1.51 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
gh_favs - Github Favorites
A small script to clone and update all your starred GitHub projects
Usage: gh_favs [-t DIR] [-i NAME] [-o] [-n] [-s STRATEGY] [-v] USER
Positional arguments:
USER Github user name
Optional arguments:
-h, --help show this help message and exit
-t DIR, --target DIR directory where the clones live, default is "."
-i NAME [NAME ...], --ignore NAME [NAME ...]
repository names to be ignored, can be followed by
multiple items
-o, --add_own clone own repositories, too
-n, --no_docs don't fetch origin/gh_pages
-s {subfolders,prefix,none}, --strategy {subfolders,prefix,none}
how to handle name clashes, default is "subfolders"
-v, --verbose include Git status messages
--version show program's version number and exit
Installation:
Use easy_install:
$ easy_install gh_favs
or pip:
$ pip install gh_favs
The script should work just fine with Python 2.5 or newer, however not yet
with Python 3. For Python 2.5 you need simplejson
(<https://github.com/simplejson/simplejson>) installed, for full CLI
power argparse (both come with Python 2.7).
About gh_favs:
(C) 2011 Manuel Strehl, some rights reserved
This code is online: https://github.com/Boldewyn/gh_favs
License:
This code is distributed under the terms of the GNU General Public License
(GPL). See LICENSE for details.