Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
delete a pushed commit
johnnyodonnell
Programming language:
Whatever
2021-06-13 05:08:59
0
Q:
delete a pushed commit
Mehraj Malik
Code:
Whatever
2021-02-25 19:28:40
# delete the last commit $git reset –hard HEAD~
0
user66449
Code:
Whatever
2021-07-25 13:27:40
$git log --pretty=oneline --abbrev-commit
0
Related
squash pushed commits
change message from last pushed commit
delete commit
remove the commit from local
how to revert last pushed commit
delete everythng after a certain commit
cancel a commit not pushed
New to Communities?
Join the community