absyah
5 months ago

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>
Do you have any comment on this tricks? then let the author know about that. comment here