| 1 |
"""usage: git add [options] [--] [<filepattern>...] |
| 2 |
|
| 3 |
-h, --help |
| 4 |
-n, --dry-run dry run |
| 5 |
-v, --verbose be verbose |
| 6 |
|
| 7 |
-i, --interactive interactive picking |
| 8 |
-p, --patch select hunks interactively |
| 9 |
-e, --edit edit current diff and apply |
| 10 |
-f, --force allow adding otherwise ignored files |
| 11 |
-u, --update update tracked files |
| 12 |
-N, --intent-to-add record only the fact that the path will be added later |
| 13 |
-A, --all add all, noticing removal of tracked files |
| 14 |
--refresh don't add, only refresh the index |
| 15 |
--ignore-errors just skip files which cannot be added because of errors |
| 16 |
--ignore-missing check if - even missing - files are ignored in dry run |
| 17 |
|
| 18 |
""" |
| 19 |
from docopt import docopt |
| 20 |
|
| 21 |
|
| 22 |
if __name__ == '__main__': |
| 23 |
print(docopt(__doc__)) |