I migrated a repository from bitbucket to github so as part of validation i want to check the count of total commits, tags, filecount, branches and PullRequests of Bitbucket private repository? Is there any API or plugin to get these details ?
It's possible to use the Awesome Graphs app which is free and visualizes the number of commits added by each developer.
This Bitbucket REST API query returns the list of commits in a repo so that it's possible to count their number.
Same can be done using the following Git command and count the lines it returns
git log --oneline --all | wc -l
Hope it helps!
Thank you for the response. I installed Awesome Graphs before but it shows only the details for each developer but i need commits count for a repo.
But Thanks the git command worked i can able to pull all the commits and to make sure again that this command will get all the commit count for a repository for all branches or a single branch ?
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events