achat cialis générique avec paiement carte bleu 
viagra pas chere livraison rapide 
kamagra vente 
viagra belgique ordonnance 
tarif cialis 
acheter medicament levitra mg 
viagra 100 mg 
guide achat viagra 
viagra vert 
achat viagra vrai 
cialis quebec 
achat cialis generique 
ou trouver cialis 
faux viagra inde 
achat cialis meilleur prix 
farmacias viagra cialis moins cher viagra waar te koop cializ viagra alternatief kamagra gel kaufen cialis 20mg preisvergleich sildenafil soft tablets mg boutique viagra kamagra entrega rapida europa 5 dias cialis doping viagras france venda viagra portugal acheter cialis en pharmacie comprar viagra generico

Git checkout old revisions by date

I wanted to do some code stats for a repository. This line checks out old revisions by date and shows code stats:

git checkout `git rev-list -n 1 --before="2012-03-01" master`

Then, I ran cloc to count lines of code:

cloc .

Its really easy to register the point in time as a git branch so that you can get back and count lines of code later:

git co -b 2012-03

You can always verify latest revision like so:

Git log -1

The combination of git and cloc makes it really simple to keep history of codebase changes.

Comments are closed.