阅读背景:

[Git] Undo a commit that has already been pushed to the remote repository

来源:互联网 

If we pushed our changes already to the remote repository we have to pay attention to not change the git history (using commands like rebase, reset, amend etc). Other collaborators of the same repository might already have pulled your changes, thus resulting into horrible, strange merge conflicts if we change the git history. There are some “safer commands” for undoing in such cases.If we pushed our changes already to the remote




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: