git - Git apply some changes from master/branch from master to old release
问题描述
i branches like that:
Master -> A -> B -> C -> D -> E -> F -> K (merge) -> M -> N
Release \-> G -> H \ /
DEV \-> I -> J
I want to merge I and J commits from DEV into Release branch. (It may be more commits, but to simplify i want only this two).
How can I do this ?
解决方案
一种方式:查看发布;然后樱桃采摘 I,然后樱桃采摘 J。
这将通过复制提交并将其效果作为新提交重播来“应用更改”。但它不会形成拓扑合并提交。
推荐阅读
- extjs - 如何设置网格的列数据索引,如depart.name
- python - 我想将给定的输入(数字、字符串、浮点数等)置换为长度(给定)
- sql - NodeJS:即使密码正确,bcrypt 也会返回 false
- javascript - 如何在 ESP32 应用程序中使用 ajax 脚本解析 json
- typescript - 为 Visual Studio 代码中的每个链接语句添加换行符
- bit-manipulation - 如何重新解释整数的指数 (2^31, ..., 2^0)?
- amazon-web-services - AWS Lightsail 将我的 html 包装在框架集中
- php - 为什么 PHP CLI 被认为是一种 SAPI?
- javascript - Three.js - 如何为整个场景创建镜像
- java - JavaFX:如何获得像素的颜色和 alpha 透明度?