Jul 1, 2015 - git, PlugIns    Comments Off on Gitting around git issues

Gitting around git issues

Sometimes I have a plugin in version control, for reasons of naming or maintenance, or whatever, and I forget that and use WP to update the plugin. Here’s how to fix it quickly on the remote site:

git fetch --all
git reset --hard origin/master

Comments are closed.