Reset remote to an earlier commit

0

git reset --soft 64ad84e
git commit -m "squashing a lot of commits"
git push -f heroku master

Of course, don't do this if there's more than one git collaborator in which case revert like this https://www.lukeko.com/35/undoing-changes

  • 0 posts
  • 0 subtopics
  • about 1 month ago by vince