After using Git submitted a number of updates, or clone an item, would like to review your history, you can perform the following actions.
-
You can view historical records submitted with the git log command, for example:
-
--Online option can also be used to view the compact version of history, which tells the history of our development projects, such as:
-
You can also use --graph options, view history when there have been branching, merging, for example:
-
--Reverse parameters can also be used to reverse all logs like, for example:
-
If only for the specified user commit log, use the command: git log --author, such as finding part Git source code Linus submitted:
-
If you want a specific date, you can do --since and --before options, you can also use --until and --after, for example, view the Git project three weeks ago and all submissions (which also, after April 18 of use the --no-merges option to hide merge commit):
Ali cloud study notes transferred from Ali cloud University https://edu.aliyun.com/