mirror of
https://github.com/LingCoder/OnJava8.git
synced 2026-08-25 15:33:28 +08:00
15 lines
430 B
Plaintext
15 lines
430 B
Plaintext
$ git add file.txt
|
|
foo@foobar ~ $ git diff --cached
|
|
$ git log -p -i
|
|
|
|
----------------------------------------------------
|
|
|
|
[
|
|
["command", ["$ git add file.txt"]],
|
|
["command", ["foo@foobar ~ $ git diff", ["parameter", " --cached"]]],
|
|
["command", ["$ git log", ["parameter", " -p"], ["parameter", " -i"]]]
|
|
]
|
|
|
|
----------------------------------------------------
|
|
|
|
Checks for git commands, with and without parameters. |