Showing commit logs with Git

๐Ÿ’ก You can see the history of changes in a branch using git log command.

ยท

1 min read

๐Ÿ‡ป๐Ÿ‡ช Spanish

1.- You can see a history of changes of a branch using git log command. This command shows us all previous commits with their structure (Reference number of the commit, author, date and time, commit message, etc).

git log

2.- Another way to see the historical changes is using git log --oneline command.

git log --oneline

3.- If you want to see the differences between the files use git log -p command.

git log -p

Reference:

git-scm.com/book/es/v2

ย