admin管理员组

文章数量:1313098

I have a folder named tools, which has many sub-folders inside it.

  • tools
    • config
    • diag
    • control

The git remote -v of the tools folder is /ship/tools. So any code that is contributed to config or diag or control will be tracked by git.

I want to move the control folder to a different git remote, I just need to get the commit history of the control folder alone.

Additionally, Also how to move the control folder with just the commits from the control folder to a new folder with a working tree whose git remote is different.

Is there any command to do that? I am stuck at this for a long time could anyone help.

本文标签: