[英]Merging a Branch of a Branch Into Master
I have a situation like this: 我有这样的情况:
master
|
---- new-branch-1
|
---- new-branch-1.1
Will I be able to merge new-branch-1.1
back into master directly without any issues, or do I need to merge it into new-branch-1
, then merge new-branch-1
into master
? 我是否可以将new-branch-1.1
直接合并回master,而不会出现任何问题,还是我需要将其合并到new-branch-1
,然后将new-branch-1
合并到master
? I realize I could just "try it and see what happens," but I really don't want to run into issues that could potentailly cripple my codebase. 我意识到我可以“尝试一下,看看会发生什么”,但是我真的不想遇到可能严重破坏我的代码库的问题。 I have backups of all my repos, but if I accidentally corrupt the original (or cause any sort of issue forces me to delete the local copy) then my backup is no longer a backup and that worries me. 我已经备份了所有存储库,但是如果我不小心损坏了原始存储库(或导致任何类型的问题迫使我删除了本地副本),那么我的备份将不再是备份,这让我很担心。
I do use GitHub Desktop for most of my git needs. 我确实将GitHub Desktop用于大多数git需求。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.