


Rollback a commit on remote git repository
因為有同事幹了蠢事,所以紀錄一下順便寫一下差異 第一種方式是先 git reset 然後做 force push, 例如; ~/testGit/gittest$ git reset --hard 36b6b053ff9980ce7934f9f9c4a5a849ca7fcc7a ...
因為有同事幹了蠢事,所以紀錄一下順便寫一下差異 第一種方式是先 git reset 然後做 force push, 例如; ~/testGit/gittest$ git reset --hard 36b6b053ff9980ce7934f9f9c4a5a849ca7fcc7a ...