Get up to speed quickly with a new git repo
One tools you can use to orient yourself more quickly when looking at a new repo is git effort
. You'll need the git-extras package on your platform, which provides the sub-command.
git effort
will give you a summary of the code churn* in the repo. Typically, it's most useful if you only view files above a certain number of commits: git effort --above 2
.
https://github.com/visionmedia/git-extras/
This is similar to Gary Berhardt's git-churn
script, which is more flexible in some ways.
https://github.com/garybernhardt/dotfiles/blob/master/bin/git-churn
You can find a load more tips here:
http://rakeroutes.com/blog/getting-up-to-speed-on-a-new-git-repo/
- Code churn is most usually defined as the changes in lines in a code base, but I'm defining it here as the relative number of commits to individual files.
Written by Damon Davison
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Code churn
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#