git resetを使う。
現在チェックアウトしているブランチを、originの指しているブランチと同じにする。
git fetch origin
git reset --hard origin/branch_name
We'll deliver articles that match you.
You can read useful information later.
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
Qiita Conference is the largest tech conference in Qiita!
Keynote Speaker
ymrl、Masanobu Naruse, Takeshi Kano, Junichi Ito, uhyo, Hiroshi Tokumaru, MinoDriven, Minorun, Hiroyuki Sakuraba, tenntenn, drken, konifar
View event detailsGo to list of users who liked