β

Git Log Command

Blog of GangMax 46 阅读

Some usefull “git log” commands.

From here .

# 1. Output git log with the first line only.
git log --pretty=oneline --abbrev-commit

# 2. Output the recent N log items.
git log -n 5

# Output log items in the given time period.
git log --pretty=oneline --abbrev-commit --after 2017-07-25 --before 2017-07-26
作者:Blog of GangMax
原文地址:Git Log Command, 感谢原作者分享。

发表评论