提交--修改完成时git推送
我已经做了以下工作提交--修改完成时git推送,git,gerrit,Git,Gerrit,我已经做了以下工作 git提交 git推送原点磁头:refs/for/master 我收到了如下类似的信息: remote: Resolving deltas: 100% (8/8) remote: Processing changes: new: 1, refs: 1, done remote: remote: New Changes: remote: https://gerrit.ericsson.se/abcde remote: To ssh://gerrit.ericss
git提交
git推送原点磁头:refs/for/master
remote: Resolving deltas: 100% (8/8)
remote: Processing changes: new: 1, refs: 1, done
remote:
remote: New Changes:
remote: https://gerrit.ericsson.se/abcde
remote:
To ssh://gerrit.ericsson.se:29418/platform/cpp/control.git
* [new branch] HEAD -> refs/for/master
git提交——修改
git push origin HEAD:refs/for/master
[在git提交之后--修改
]
我有新的gerrit link吗
如果是,我的更改是否会反映在我的旧gerrit链接中?只要您不从提交消息中删除
更改Id
行,gerrit就会将新提交分组到旧问题。(另请参见)我做了git提交--amend-m“xxxx”,然后git推原始头:refs/for/master。我得到了新的gerrit链接和新的更改ID,因为您用-m
重写了完整的消息。好的。那么,你的意思是如果我做了git commit--amend only,那么我会在旧gerrit链接中加载新的补丁集?如果提交消息中有更改,那么更改ID也会更改?更改ID是提交消息的一部分,请参阅例如。不要覆盖整个消息,执行git commit--amend
打开$EDITOR
,可以随意更改任何内容,但底部的更改Id
行除外。