Den 18.08.2018 17:30, skrev Jaroslav Tulach:
Dne So 18. srpna 2018 13:30:28, Geertjan Wielenga napsal(a):
Also, how would I build and run after git cloning
https://github.com/apache/incubator-netbeans/tree/master/platform?

There is no way to clone a subtree in Git.


Not clone, but you can do a sparse checkout. Which can be useful.
http://scriptedonachip.com/git-sparse-checkout
https://git-scm.com/docs/git-read-tree (at the bottom).


As an example one of my "sparse-checkout" files contains the following:
"
php.project/
nbbuild/
projectapi/
php.api.phpmodule/
php.composer/
"

It results in a .git dir that is about 181mb or so, the source code is a little over 8mb.


Just a little FYI to everyone as I was not aware of this functionality in git until recently. It came in really handy in trying to understand parts of the project api.


--
Best regards
Christian August Michelsen

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to