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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -