Git - Project Lead/Manager

- Get count of branches
1
git branch -a | wc -l
- Get the commits from individual
1
2
3
4
5
git shortlog -s -n --all
#OR
git shortlog -s -n
- 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>
- List of branches
1
git branch -a