We sometimes just need to download one branch of GIT without its history. Kind of like svn export thingie. A feature of SVN that would export a branch without any SVN metadata.

Suppose we have a Github repository:

https://github.com/jpmrblood/percuma

Lo, we could do this:

svn export https://github.com/jpmrblood/percuma/trunk/

And this to see what GIT versions available:

$ svn ls https://github.com/jpmrblood/percuma/
branches/
tags/
trunk/

And this to see what version had been released in the past:

$ svn ls https://github.com/jpmrblood/percuma/tags/
v1/
v2/

Cool hidden stuff from Github.

Bacaan Lebih Lanjut