git reset -- hard with to previous commit set local and remote repository

Viewed 419

I want to do a git reset to a previous commit. I want my local repo to reflect the changes when I go back to the old commit and I want my remote repo to do the same. How do I do this?

1 Answers
Related