-
-
Save edivandecastro/b9e5e669d50ff80c6e0a91d114837303 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Alter repository remote | |
git remote set-url origin [email protected]:user/your_repository.git | |
# Delete the last commit | |
$ git reset HEAD^ --hard | |
$ git push origin -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment