[git]リモートブランチと一致させる

投稿者: | 2017年6月15日

gitでリモートのmasterブランチとローカルブランチを強制一致させるには以下。

git fetch origin
git reset –hard origin/master