2.3 查看提交历史.pdfVIP

  • 3
  • 0
  • 约7.5千字
  • 约 8页
  • 2018-03-02 发布于湖北
  • 举报
2.3 查看提交历史 查看提交历史 在提交了若⼲更新,又或者克隆了某个项⽬之后,你也许想回顾下提交历史.完成 个 任务最简单⽽又有效的⼯具是 git log 命令。 接下来的例⼦会⽤我专门⽤于演⽰的 simplegit 项⽬,运⾏下⾯的命令获取该项⽬源代 码: git clone /schacon/simplegit-progit 然后在此项⽬中运⾏ git log ,应该会看到下⾯的输出: $ git log commit ca82a6dff817ec66f44342 72 269 Author: Scott Chacon schacon@ Date: Mon Mar 17 21:52:11 2 8 - 7 changed the version number commit 85bb3bcb6 8e1e8451d4b2432f8ecbe63 6e7e7 Author: Scott Chacon schacon@ Date: Sat Mar 15 16:4 :33 2 8 - 7 removed unnecessary test commit a11bef 6a3f6594 2fe7563abf99ad de22 9e6 Au

文档评论(0)

1亿VIP精品文档

相关文档