Overwrite local changes and git pull

gitProductivity

 

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

Leave a Reply