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

sql - VB.NET Operand type clash: date is incompatible with int error -

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

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -