git Already up to date.

C++
git checkout master
git reset --hard test
git push --force origin mastergit reset --hard master
Source

Also in C++: