Merge two git repos into one without renaming files -


i'd merge 2 repos , b common repo c. , b both have lot of files @ root folder level, i'd create folders , b in root folder of repo c, , put content of each original repo in matching folder.

is there without using git mv in process? problem i'm using xcode unfortunately doesn't follow history of renamed files, i'd avoid moves if possible. in effect, i'd merge each repo directly subfolder.

  • subtree merging — simple solution. merge set of files relocating them @ same time under different prefix (a directory). not past history of files.
  • the git-subtree script add command. create synthetic history if originating code has been located in specified directory.

Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -