github has a download button which offers a download for .tar.gz and .zip files. Essentially i want the same thing for the latest branch or of a tag. I dont want to work on the project, i just want to compile it. How do i get the source only of any git repo?
|
feedback
|
|
What you need is a shallow clone:
Will result in a Shallow clone of the repo with the current revision only. | |||
|
feedback
|
|
Use
This command gets only the source tree with no git metadata (i.e., no | |||
|
feedback
|