Maison > Questions et réponses > le corps du texte
origin 分支 master 代码要回滚..我发现我不会..
现在用的方法是本地 git reset --hard xxxx, 然后创建一个old_master分支, 在远程 origin 创建一个olg_master分支, 推上去...
感觉这个方法很low..
正确的做法是什么,怎么样可以让 origin master 回滚?...
PHP中文网2017-05-02 09:33:40
Vous pouvez voir la solution dans ce blog http://blog.mtxcxin.cn/blog/git comment restaurer un entrepôt distant.html
给我你的怀抱2017-05-02 09:33:40
Ne pas utiliser la réinitialisation. Ne serait-il pas préférable de git revert ?