4

I have a task like, to get all the user commits from Bitbucket.

Can someone assist to get the all list of users mailId or name using git command?
From that list I can get full commit details of each.

VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755
Geetha
  • 69
  • 1
  • 1
  • 3

2 Answers2

5

If you can clone that repository from BitBucket to your workstation, you can then list all the user emails:

git shortlog --summary --numbered --email

For each one, you can then list all their commits.

git log --author="username"
VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755
-2

$ git clone git@gitlab.xxx.com:applicaiton/app.git #clone from Bitbucket repository

$ cd app # app is your local code dir

$ git log -3 #list the latest 3 commit logs, and use grep commond to filter