linux - git rebase --onto 中onto的作用
黄舟
黄舟 2017-04-17 16:40:37
0
1
966
黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
左手右手慢动作

This parameter actually adds fine-grained control to rebase, making rebase more arbitrary.

# 使用onto之后, 后面会跟3个参数
$ git rebase --onto base from to

The meaning of the command使用(from, to]所指定的范围内的所有commit在base这个commit之上进行重建.

Reference How to copy a range of commits from one branch to another?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!