How to roll back/cherry-pick a specific file to a node you want?

来源:互联网 发布:平板电脑网络转换器 编辑:程序博客网 时间:2024/05/21 17:40

roll back a specific file to the node I want:

git checkout <the commit id> <file path>

merge the specific file I want to the current branch:

git checkout --patch <the branch name> <the file path>
原创粉丝点击