Changes between Version 8 and Version 9 of WorkingWithGitSVN


Ignore:
Timestamp:
Oct 24, 2015, 8:17:36 PM (9 years ago)
Author:
neverpanic (Clemens Lang)
Comment:

+= git-filter-branch(1)

Legend:

Unmodified
Added
Removed
Modified
  • WorkingWithGitSVN

    v8 v9  
    107107
    108108For disk space and usability reasons, a separate repository might be easier to handle, especially when you can just add that to sources.conf. Note we already have contrib/ and users/ as separate repositories.
     109
     110Given your Git repository, you can use `git filter-branch(1)` to remove all history but that in a subdirectory. Note that you should do this on a copy of your repository. For example, to split www from the rest of the repository, use
     111
     112{{{
     113git filter-branch --subdirectory-filter www --prune-empty -- --all
     114}}}