git resetを使う。
現在チェックアウトしているブランチを、originの指しているブランチと同じにする。
git fetch origin
git reset --hard origin/branch_name
Go to list of users who liked
More than 5 years have passed since last update.
git resetを使う。
現在チェックアウトしているブランチを、originの指しているブランチと同じにする。
git fetch origin
git reset --hard origin/branch_name
Register as a new user and use Qiita more conveniently
Go to list of users who liked