How to merge a specific commit in Git

后端 未结 7 1321
攒了一身酷
攒了一身酷 2020-11-22 01:41

I have forked a branch from a repository in GitHub and committed something specific to me. Now I found the original repository had a good feature which was at HEAD

7条回答
  •  无人及你
    2020-11-22 01:54

    You can use git cherry-pick to apply a single commit by itself to your current branch.

    Example: git cherry-pick d42c389f

提交回复
热议问题