Rumah > Soal Jawab > teks badan
ringa_lee2017-04-17 16:42:37
这个参数其实是给rebase增加了细粒度的控制,使得rebase更加随意.
# 使用onto之后, 后面会跟3个参数
$ git rebase --onto base from to
命令的意义使用(from, to]所指定的范围内的所有commit在base这个commit之上进行重建
.
参考 How to copy a range of commits from one branch to another?