- Get count of branches
git branch -a | wc -l
- Get the commits from individual
git shortlog -s -n --all
#OR
git shortlog -s -n
- 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>
- List of branches
git branch -a
Posts on git
Related Post:
K8s Contributor Playground, Learning by Contributing
Adding Try in PWD button to README file
Open JDK docker container commands shell access to the container
AWS EBS Volmes - Create and attach the EBS volume with mounting
Elasticsearch - Dumping documents from multi-node to single node