Git - Project Lead/Manager


Git - Project Lead/Manager

Balu
Balu Infrastructure Solution Architect | SRE | DevOps Manager | Platform Engineer | Monitoring | CICD | ODD | SQL/NoSQL | ELK | AWS | Jhipster | Microservices | Agile | Scrum
Git - Project Lead/Manager
  1. Get count of branches
git branch -a | wc -l
  1. Get the commits from individual
git shortlog -s -n --all

#OR

git shortlog -s -n
  1. Get count the commits for the branch we are in
git rev-list --count HEAD

#OR

git log --pretty=oneline | wc -l

#OR

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

comments powered by Disqus