UserA在13天前使用UserB在github上提交的意思是什么? [英] What does UserA committed with UserB 13 days ago on github mean?

查看:116
本文介绍了UserA在13天前使用UserB在github上提交的意思是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有兴趣知道两个用户中的哪一个在github列出这两个文件时更改了文件。然而,git记录仅包含UserA。

I am interested in knowing which one of the two users made the file changes when github lists both. The git record contains only UserA however.

推荐答案

UserA是实际进行更改的人员。 UserB是将这些更改提交给此分支的人员。即如果UserA提交对branch1的更改,UserB将向branch2提交一些更改,并将branch1与branch2进行重定位。现在,branch1中的最高提交将显示UserA已经用UserB提交了这些更改。

UserA is the one who actually made the changes. UserB is the one who committed those changes to this branch. i.e if UserA commits his changes to branch1, UserB comes, commits a couple changes to branch2, rebases branch1 with branch2. Now, topmost commits in branch1 will show that UserA has committed these changes with UserB.

编辑:这主要发生在装订和樱桃采摘期间,因为作者和提交者在这些过程中可能有所不同。

This mainly happens during rebasing and cherry-picking, since authors and committers can be different in these processes.

这篇关于UserA在13天前使用UserB在github上提交的意思是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆