News for hackers. Stuff that matters.
Re:Show HN: Git-subcopy lets you link files across repositories by AlotOfReading on Sunday October 27, 2019 @04:52PM (#21372316)
Filter-branch / subtree doesn't let you move files outside the subdirectory, as far as I'm aware. Happy to be corrected on this point though.
Re:Show HN: Git-subcopy lets you link files across repositories by js2 on Sunday October 27, 2019 @09:56PM (#21373695)
There's basically nothing you can't do with filter-branch and the variety of filters it can execute. Moving a subdirectory to the root is trivial with --subdirectory-filter, but even without that, you could do it with --index-filter or --tree-filter.