0

I have a bitbucket git repository which has two big folders (Folder1 and Folder2) with huge and important commit history inside. I want to create two new folders (NewParentFolder1 and NewParentFolder2) and move these two folders into their new respective parents.

Most Importantly: Not losing both folders original commit history

Current directory structure:

Project1->
 - Folder1 
 - Folder2
 - otherFolders 
 - otherFiles 
 - .gitignore

Desired directory structure:

Project1->
 - NewParentFolder1 
      - Folder1 
 - NewParentFolder2 
      - Folder2 
 - otherFolders 
 - otherFiles
 - .gitignore

Thanks, in advance.

12

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.