[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gits] Neat: git-extras



I found a neat set of add-on scripts for git:

https://github.com/visionmedia/git-extras

(many distros let you install these as a package; alternately, the 
source has installation instructions in the README)

Ones I particularly like:

git local-commits - tells you what commits you haven't pushed upstream

git summary and git effort - neat summaries of who has spent the most 
time, and on what files (examples below). (WANRING: git-effort is very 
slow)

git undo - easy way to dump last N commits if you decide you don't want 
them after all

----------

summary and effort for a recent proposal:

  project  : mri13
  repo age : 3 months ago
  commits  : 579
  active   : 39 days
  files    : 143
  authors  :
    344	Robert Ricci            59.4%
     56	Eric Eide               9.7%
     50	Kobus Van der Merwe     8.6%
     37	Gary Wong               6.4%
     36	Kirk Webb               6.2%
     36	Mike Hibler             6.2%
     20	David M. Johnson        3.5%

   file                                          commits    active days

   adm/utah/internal-proposal/internal-proposal.tex 75         8
   prop/hardware.tex                             46         12
   prop/plan.tex                                 36         9
   prop/userdesc.tex                             31         6
   prop/summary.tex                              29         13
   prop/background.tex                           27         5
   prop/prior.tex                                26         13
   prop/impact.tex                               24         5
   prop/information.tex                          23         10
   adm/budjust/just-hw.tex                       21         8
   prop/activities.tex                           19         8
   letters/letter-writers.txt                    19         9
   prop/bib/prop.bib                             18         8
   prop/software-services.tex                    17         5
   .gitignore                                    16         11