dailyhack
dailyhack copied to clipboard
Reset local repository branch to be just like remote repository HEAD
Setting your branch to exactly match the remote branch can be done in two steps:
git fetch origin
git reset --hard origin/<branch>