[英]git push when commit --amend is done
I have done the following 我做了以下
git commit
git push origin HEAD:refs/for/master
I have received message similar to below: 我收到了类似以下的消息:
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 commit --amend
Now my question is if I again do git push origin HEAD:refs/for/master
[after git commit --amend
] Do I get new gerrit link? 现在我的问题是是否再次执行
git push origin HEAD:refs/for/master
[在git commit --amend
]我是否获得新的gerrit链接?
If yes, is there any way that my changes get reflected in my old gerrit link? 如果是,我的更改是否可以通过我的旧Gerrit链接反映出来?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.