clomid compresse prezzo viagra farmacia osta viagraa kamagra 50 gel oral acheter cialis pas cher en ligne viagra rezeptfrei preis baclofen preis viagra kaufen ohne rezept viagra online kaufen de levitra niederlande köpa viagra sverige allemagne cialis viagra im internet bestellen levitra prezzo farmacia cialis costo farmacia
acheter cialis viagra generika cialis kamagra tulli acheter kamagra cialis tablettes achat viagra pfizer precio farmacia viagra comprar cialis vendita cialis in svizzera cialis levitra comparison viagra rezeptfrei erfahrungen cialis son prix differente marque viagra viagra preise deutschland viagra voor vrouwen

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.