Joined September 2011
·
Posted to
Faster Git Clones
over 1 year
ago
Note that this only works with git 1.9 and up, see http://stackoverflow.com/questions/6941889/is-git-clone-depth-1-shallow-clone-more-useful-than-it-makes-out
The manpage has been corrected in recent git versions, as referenced on in the question linked above.
Achievements
58 Karma
0 Total ProTip Views
Forked
Have a project valued enough to be forked by someone else
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
Raven
Have at least one original repo where some form of shell script is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
T-Rex
Have at least one original repo where C is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Parsing html with regular expressions has several problems, for example you don't handle single quotes.
Here's a solution using http://simplehtmldom.sourceforge.net/