Balu
Balu Platform Engineer | Devops | Monitoring | CICD | ODD | SQL/NoSQL | ELK | AWS | Jhipster | Microservices | Agile | Scrum

Git - Project Lead/Manager

Git - Project Lead/Manager
  1. Get count of branches
1
git branch -a | wc -l
  1. Get the commits from individual
1
2
3
4
5
git shortlog -s -n --all

#OR

git shortlog -s -n
  1. Get count the commits for the branch we are in
1
2
3
4
5
6
7
8
9
git rev-list --count HEAD

#OR

git log --pretty=oneline | wc -l

#OR

git rev-list --count <BRANCH_NAME>
  1. List of branches
1
git branch -a

comments powered by Disqus