git 提取指定目录提交记录到新仓库
Posted by 2022/6/7 19:43:36 • Author:JK.Li
1、安装filer-repo 用于过滤git提交记录
brew install git-filter-repo
2、提取指定目录
git filter-repo --subdirectory-filter xxx-xxx-xxx/
3、推送到新的仓库
git push --mirror https://git.xx.xx/xxx-projects/xxx-xxx-xxx.git
Tagged: git
0 评论列表
发表评论
Wise Words
We can let circumstances rule us, or we can take charge and rule our lives from
within .
Earl Nightingale