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?
your_branch_nameCheck this article out as well https://ncona.com/2011/07/how-to-delete-a-commit-in-git-local-and-remote/
DISCLAIMER: Force push is not at all safe but that is the only way I know to remove commits from remote.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With