0

I need help deleting commits I made on github

Git commits

4th Aug 2020, 12:06 AM
cEbuka
cEbuka - avatar
2 Antworten
+ 6
# First, check out the commit you wish to go back to (get sha-1 from git log) git reset --hard 9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a # Then do a forced update. git push origin +9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a^:develop # Push specific commit git push origin 9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a:develop Source :https://gist.github.com/dsci/1347672/da3dbda654fb0947aec4a43218bd64c2acdf7871
4th Aug 2020, 12:29 AM
Arsenic
Arsenic - avatar
+ 1
Thanks I will checkout the link
4th Aug 2020, 10:03 PM
cEbuka
cEbuka - avatar