0

I'm moving code around at work, and I'm stuck on a particular problem. I have the following architecture :

repo
|- submodule A
|   |- folder A1
|   |- folder A2
|- folder B
    |- folder B1

And I want to move folder A2 into folder B with the complete history, to end up with this :

repo
|- submodule A
|   |- folder A1
|- folder B
    |- folder B1
    |- folder A2

It seems that git filter-branch could do the tricks, but I can't find any example about this particular problem.

Thanks.

2

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.