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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -