'git log' command used to get the commit logs.
For example, Clone the repository https://github.com/harikrishna553/gitHelloWorld.git by executing below command.
git clone https://github.com/harikrishna553/gitHelloWorld.git
$git clone https://github.com/harikrishna553/gitHelloWorld.git
Cloning into 'gitHelloWorld'...
remote: Enumerating objects: 18, done.
remote: Counting objects: 100% (18/18), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 18 (delta 0), reused 9 (delta 0), pack-reused 0
Unpacking objects: 100% (18/18), done.
$
$tree
.
└── gitHelloWorld
├── README.md
└── welcome.txt
1 directory, 2 files
This post first appeared on Java Tutorial : Blog To Learn Java Programming, please read the originial post: here