07Git View Submission History

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:
    View History

  • --Online option can also be used to view the compact version of history, which tells the history of our development projects, such as:
    Concise history

  • You can also use --graph options, view history when there have been branching, merging, for example:
    Branch, merge

  • --Reverse parameters can also be used to reverse all logs like, for example:
    Reverse Display Log

  • If only for the specified user commit log, use the command: git log --author, such as finding part Git source code Linus submitted:
    Specifies the user's log

  • 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):
    Specified date


Ali cloud study notes transferred from Ali cloud University https://edu.aliyun.com/

Guess you like

Origin www.cnblogs.com/yujiao-99/p/12640669.html