Overwrite local changes and git pull gitProductivity Posted on March 23, 2015 | by admin One liner git fetch --all && git reset --hard origin/master Update your website easily i.e. cd public_html && git fetch --all && git reset --hard origin/master Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window) Related