views:

44

answers:

1
/source/application/controller ( visible )
/source/application/models ( visible )
/source/application/views ( visible )
/source/framework ( not visible )

can we somehow do like this at github or in any git sites ? svn ? or maybe other SCM ?

+2  A: 

You could do this using Git by using the submodule support. You could create a repository for "application", and make that public. Then create a repository containing that, and set up "application" as a submodule. If you don't make the outer repository public, then it's effectively private.

Greg Hewgill
hmm can you give me example command doing that ? thanks btw.
Adam Ramadhan
I recommend reading the chapter in the Git book that I linked to in my answer. Setting up a submodule isn't just one command, you have to do a few things to make it all work. The Submodule chapter goes into a lot of detail. There's even a screencast at the end if that helps.
Greg Hewgill