我正在建立一个git分支,它需要与其他分支具有不同的目录结构。这些文件都是一样的,但是,它们基本上都必须上移一级。有很多文件,我不知道如何使用git将它们一起移动。
目前看来是这样的:
Root Directory
|
- Main Folder
| |
| - Sub Folder 1 with a lot of subfolders and files
| |
| - Sub Folder 2 with a lot of other subfodlers and files
|
- A couple of random files
我想结束的是:
Root Directory
|
- Sub Folder 1 with a lot of subfolders and files
|
- Sub Folder 2 with a lot of other subfodlers and files
|
- A couple of random files
我该怎么做?