git pull mainline and override local code example Example: oevrride localwith remote branch git reset --hard origin/master