Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
roll back last commit in git
Bisola Lawal
Programming language:
Shell/Bash
2021-06-03 07:07:18
1
Q:
roll back last commit in git
user88310
Code:
Shell/Bash
2021-01-21 21:45:00
git reset --soft HEAD~1
9
Tags
git
last
Related
git revert last 2 commits
git roll back to specific commit
git revert commit
how to revert back to previous commit in git
git how to roll back to a commit
git move back one commit
git cancel last commit
git amend last commit message
how to revert back to previous commit in git permanently
git undo last commit
amend last commit message
how to revert to earlier commit git
New to Communities?
Join the community