Count the number of reverted commits in Git
git log --grep 'This reverts commit' --pretty=oneline | wc -l
Written by Matias Korhonen
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#K33l0r
Authors
matiaskorhonen
6.654K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#