Git : How to track branches activity
Using Git, when you've lost a little bit of focus in your project (understand "When you have dozens of unmerged branches you don't remember what the hell they were used to").
You and your team could find usefull to list and order all the branches by their last activity. Gives a good idea of what's usefull, what's used, what is useless or even forgotten.
Command :
git for-each-ref --sort=-committerdate --format='%(committerdate:short) %(refname)' refs/heads refs/remotes
Written by Oleiade
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Branches
Authors
filipekiss
5.395K
zigotica
2.953K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#