例如:git commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]
[--dry-run] [(-c | -C | --fixup | --squash) <commit>]
[-F <file> | -m <msg>] [--reset-author] [--allow-empty]
[--allow-empty-message] [--no-verify] [-e] [--author=<author>]
[--date=<date>] [--cleanup=<mode>] [--[no-]status]
[-i | -o] [-S[<keyid>]] [--] [<file>...]git
上面“[]”表明一个块,it
“|”表明几选一,date
“-”表明命令参数 ,file
“<>”表明参数的参数,auth
“-”表明简写参数,利于输入。“--”表明全写参数,利于理解co