Git - rebasing to a particular tag

前端 未结 1 1226
庸人自扰
庸人自扰 2021-02-04 06:09

(This seems like it should be very easy to do, yet I\'m coming up empty on searches so far.)

I have a body of code from an upstream source, with various version

相关标签:
1条回答
  • 2021-02-04 07:06

    You would use the following command:

    git rebase --onto v1.5 v1.0 develop
    

    The develop part of the command must be a branch, but the other two can be whatever you want.

    0 讨论(0)
提交回复
热议问题