Tricks
Calculate Language Percentage in github:
Add the gem to Gemfile and run bundle install
gem 'github-linguist'
Run the foll command to find out the language contribution:
bundle exec linguist --breakdown
This provides a list like this
79.36% Ruby
14.86% HTML
2.41% JavaScript
2.11% CSS
1.26% CoffeeScript
Commit for a file
<code>git log <filename></code> only shows commits that affect that file.