Created
October 9, 2021 23:40
-
-
Save eness/19e1685358cc01c5a49127447a077810 to your computer and use it in GitHub Desktop.
Github Repository'den commit silmek
This file contains hidden or 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
# öncelikle github repo üzerinde gitmek istediğiniz commit'in sha1 değerini alın | |
git reset --hard 9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a | |
# force update | |
git push origin +9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a^:develop | |
# push commit | |
git push origin 9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a:develop -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment