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

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

Antworte allen(1)
左手右手慢动作

这个参数其实是给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?

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!