Files
OnJava8/docs/_style/prism-master/tests/languages/git/command_feature.test
2019-03-30 20:31:44 +08:00

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.