Use git to get the latest source code only

Say you want to get just the source code of a git repository without all the history(without the ".git" directory). Use this:

git clone --depth 1 git://github.com/breck7/brecksblog.git


Posted 12/27/2009
blog comments powered by Disqus