I’ve done the process described at this link http://toroid.org/ams/git-website-howto
It works like a charm, but now I have to revert, temporarily, the remote repository (and the checkout) to a previous state.
I think that I probably just need to revert locally and push (and the checkout will work properly) but I’m not sure.
Notice that it is not a definitive revert, just a temporary one (think of it as if I pushed the latest changes to production before I should)
I’ve done the process described at this link http://toroid.org/ams/git-website-howto It works like a charm,
Share
In your local repository use
git reset --mixed <commit>thengit push --forceto the remote. You may need to stash the uncommitted changes first.From the git-reset manpage: