Ignore all the recommendations on stackoverflow about "git reset", none works since you end up finding you can't commit a change without doing a git pull which means you lose the reversion you tried to do.
Use "git log" to find the last good commit's checksum then run:
git checkout $checksum .
git commit -m 'backing out broken code' -a
git push

No comments:
Post a Comment