2015-03-31から1日間の記事一覧

Git でローカルの変更を捨てて upstream に reset したいとき

Git

git reset --hard [HEAD]@{u} tracking branch が設定されている場合に使える。1.7.0 から使える。