| 1 |
"""usage: git push [options] [<repository> [<refspec>...]] |
| 2 |
|
| 3 |
-h, --help |
| 4 |
-v, --verbose be more verbose |
| 5 |
-q, --quiet be more quiet |
| 6 |
--repo <repository> repository |
| 7 |
--all push all refs |
| 8 |
--mirror mirror all refs |
| 9 |
--delete delete refs |
| 10 |
--tags push tags (can't be used with --all or --mirror) |
| 11 |
-n, --dry-run dry run |
| 12 |
--porcelain machine-readable output |
| 13 |
-f, --force force updates |
| 14 |
--thin use thin pack |
| 15 |
--receive-pack <receive-pack> |
| 16 |
receive pack program |
| 17 |
--exec <receive-pack> |
| 18 |
receive pack program |
| 19 |
-u, --set-upstream set upstream for git pull/status |
| 20 |
--progress force progress reporting |
| 21 |
|
| 22 |
""" |
| 23 |
from docopt import docopt |
| 24 |
|
| 25 |
|
| 26 |
if __name__ == '__main__': |
| 27 |
print(docopt(__doc__)) |