扫码关注官方订阅号
人生最曼妙的风景,竟是内心的淡定与从容!
这个参数其实是给rebase增加了细粒度的控制,使得rebase更加随意.
# 使用onto之后, 后面会跟3个参数 $ git rebase --onto base from to
命令的意义使用(from, to]所指定的范围内的所有commit在base这个commit之上进行重建.
使用(from, to]所指定的范围内的所有commit在base这个commit之上进行重建
参考 How to copy a range of commits from one branch to another?
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
这个参数其实是给rebase增加了细粒度的控制,使得rebase更加随意.
命令的意义
使用(from, to]所指定的范围内的所有commit在base这个commit之上进行重建
.参考 How to copy a range of commits from one branch to another?