Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
remove the commit from local
the_prole
Programming language:
Whatever
2021-05-29 10:06:17
0
Q:
remove the commit from local
Nikki nikz
Code:
Whatever
2021-01-13 21:41:35
git reset --hard origin/<branch_name>
1
whitedevil
Code:
Whatever
2021-01-21 21:44:13
git reset --soft HEAD~1
0
Kewal Shah
Code:
Whatever
2021-01-21 21:45:39
git reset --hard HEAD~1
0
Tags
remove
Related
delete a pushed commit
delete everythng after a certain commit
revert local commit
cancel a commit not pushed
change message from last pushed commit
delete commit
New to Communities?
Join the community