Hi,
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 ?
Hi Nagaraju,
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
one more thing i am trying to pull the above metrics (count of commits, tags, PR's, files , branches) remotely. I don't want to download to my local and run git commands
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.