1.

How to view the commit history of the repository?

Answer»

Using command ‘GIT log"; this command displays commits list(in chronological order) from latest to old one in DESCENDING order of the committed DATE. For each commit record it displays- 

  • Commit id (SHA-1 has code)
  • Author's (user's) name and email-id Date and time
  • Commit message provided at time of commit
  • To make the OUTPUT more compact or custom; we can use lot of other options along with command e.g. 'git log -- ONELINE'


Discussion

No Comment Found