I am trying to get number of commits of my master branch bitbucket-pipelines.yml file
and I use the command below
git rev-list --first-parent --count origin/master
But it started not counting after 50th commit and it keeps returning 50 everytime I push a new commit.
What is the reason for that and how can I fix that issue?
Any help would be appreciated.