How can I skip commits in git?

后端 未结 3 1873
执念已碎
执念已碎 2021-01-04 04:46

I have some commits that I don\'t want in my project, but there\'s a commit based on them which I do want in it. This is my GitHub \"Network\" graph of the repository (ASCII

3条回答
  •  执笔经年
    2021-01-04 05:32

    You could check out your _ and cherry pick the *. If you want that on a separate branch, you can branch off from _ before doing this.

提交回复
热议问题