Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5950613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:25:06+00:00 2026-05-22T17:25:06+00:00

Say I want to add a blurb to my resume like Recent coding experience:

  • 0

Say I want to add a blurb to my resume like “Recent coding experience: In the last # months I’ve written # lines of code including # lines of ruby, # lines of javascript, # lines of css, and # lines of specs.” What’s a good way to extract such stats from git?

(Since nobody should be impressed by code quantity without evidence of quality, assume such evidence is elsewhere.)

To simplify, forget about merging results from multiple repos. Also, count only lines in HEAD and ignore deleted or overwritten lines.

How do I squeeze these numbers from git?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:25:07+00:00Added an answer on May 22, 2026 at 5:25 pm
    git log --author foo --*stat
    

    There are a number of stat commands. –stat –numstat –shortstat –dirstat. Some provide the information you want. You can accumulate the stats, figure out the file type by directory or file name, or actual file inspection, and output as necessary.

    However, as someone who interviews people, I’m pretty sure I would find that statistic entirely useless and a sign of bad thinking on the applicant’s part.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lets say I want to add a few methods to ActionView::Helpers::FormBuilder like the examples
Say I want to write a function like this: int get_some_int(string index) { ...perform
Say I want to disassemble lines m-n of file x, where file x is
i want to add div base on input attr title, i mean to say
How to model hierarchical relationship in rest api? Let's say I want to add
Say I want to add a value to an array, but it doesn't matter
Say i want to add pagination support. My app is separated in Web, Services
This is embarrassing, but: Let say I want to add 1 to x until
Say I want to add a background image to something, I might write: background:
Lets say I want to add an extension method to class B. Can I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.