参考地址:https://blog.csdn.net/realghost/article/details/78328466
命令说明: git diff OldCommitId NewCommitId --name-only | xargs -t -i{} cp --parents {} ../(文件夹)
例如:
git diff c2921b8 15465f1 --name-only | xargs -t -i{} cp --parents {} ../update0827
亲测可用
网友评论