简体   繁体   English

在github上的pull请求成功合并后提交dissapier

[英]After succesfull merge of pull request on github commit dissapier

After succesfull merge of pull request on github a commit dissapear with code. 在github上的pull请求成功合并后,代码消失。

In github it looks like this: 在github中,它看起来像这样: 在此处输入图片说明 merge commit has number and two parents, but in tree there are no merge commit at all: 合并提交具有编号和两个父级,但是在树中根本没有合并提交: 在此处输入图片说明

And also now github say that two branches are at one (feature/OLFU-8334 and feature/OLFU-8471): 而且现在github说两个分支合而为一(feature / OLFU-8334和feature / OLFU-8471): 在此处输入图片说明

How it can be? 怎么可能 I need to know to prevent such strange behaviour in future. 我需要知道防止将来发生这种奇怪的行为。

There is way too little information too provided a good answer. 信息太少也无法提供一个很好的答案。 But the merge has most likely ended as a fast-forward merge. 但是合并很可能以快速合并而结束。

原因是手动更改了git历史记录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM