gitinspector

I mentioned in class a useful tool for compiling statistics on a git repo, so you can tell who wrote how many lines, who the main contributors were to each file, and so forth. To do this:

  1. Run “sudo apt-get install gitinspector” on your Google Cloud, give your password when prompted, and say “Y” for “yes I really want to install this” when prompted.
  2. From anywhere in your git workspace, type: “gitinspector -rwH” and you’ll see output like:
    Author                     Commits    Insertions      Deletions    % of changes
    Tony Stark                      50           657            193           18.03
    Natasha Romanova                36           913            115           21.81
    Bruce Banner                    72          2216            620           60.16
    

    and other useful tidbits.