Git app that creates libraries from a subset of a project

Is there a git application (ui that generates editable data configuration or I suppose command line working) that allows you to select a subset of files to publish as a git project? The use case for this being:

Let’s say you have your main shared library under a src directory. It would be greatly beneficial to be able to manage this src directory internally as a single repository while being able to publish a sub package/module located in said directory publicly. Copying and managing the applicable commits to this subset of available classes would be a huge pain.

  • Filtering a diff with a regular expression
  • Git diff of branches or commits showing file list overview in visual difftool and then selectable single file diff
  • Why does git cherry-pick not continue?
  • Promote all builds to master on Jenkins
  • git clone without replacing file tree
  • Git submodule update from post-receive hook
  • Is there anything like this?

  • Better way of getting a GIT commit message by short hash?
  • git: check if commit xyz in remote repo?
  • Import existing Android project in Eclipse: no gen source folder?
  • Remove a directory permanently from git
  • How to automate git version release of master branch?
  • How to Sync the Same Exact EXISTING Project on Machine2 that was Pushed To a Git Repository from Machine1?
  • One Solution collect form web for “Git app that creates libraries from a subset of a project”

    Have you looked into git submodules? This lets you collect multiple repositories together into a single directory tree, and is often used in the case where you are managing separate libraries/modules as a separate project. Some people think that submodules are problematic to manage.

    The git subtree project is an alternative take on this that may also meet your needs.

    Git Baby is a git and github fan, let's start git clone.