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.
本文标签:
版权声明:本文标题:git - How to get the commit history of a particular folder which is one of the child folder of a parent folder - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741948527a2406570.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论