4
/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 ?

Adam Ramadhan
  • 22,712
  • 28
  • 84
  • 124

1 Answers1

2

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
  • 951,095
  • 183
  • 1,149
  • 1,285
  • 1
    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 Aug 04 '10 at 13:05