Git 内联更改日志
示例
要查看带有内联更改的日志,请使用-p或--patch选项。
git log --patch
示例(来自TrelloScientist存储库)
ommit 8ea1452aca481a837d9504f1b2c77ad013367d25 Author: Raymond Chou <info@raychou.io> Date: Wed Mar 2 10:35:25 2016 -0800 fix readme error link diff --git a/README.md b/README.md index 1120a00..9bef0ce 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ the control function threw, but *after* testing the other functions and readying the logging. The criteria for matching errors is based on the constructor and message. -You can find this full example at [examples/errors.js](examples/error.js). +You can find this full example at [examples/errors.js](examples/errors.js). ## Asynchronous behaviors commit d3178a22716cc35b6a2bdd679a7ec24bc8c63ffa :