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

git reset --hard [HEAD]@{u}

tracking branch が設定されている場合に使える。

1.7.0 から使える