move all files of current directory into subdirectory and maintain history

前端 未结 7 1099
不知归路
不知归路 2021-02-05 03:00

How can I move all the files of my current directory into a new directory and retain the history.

I have tried:

git mv . old_app

But I

7条回答
  •  失恋的感觉
    2021-02-05 03:47

    If you are a windows user, this is one solution for you.

    1. Install Turtoise Git if you have not done that
    2. Select the folder you want to move
    3. Right mouse button, Turtoise git, Rename

提交回复
热议问题