Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
git cancel last commit
P. P
Programming language:
Shell/Bash
2021-04-09 18:50:26
4
Q:
git cancel last commit
rashidx
Code:
Shell/Bash
2021-01-21 21:46:15
$ git reset --soft HEAD~1
1
user88310
Code:
Shell/Bash
2021-01-21 21:45:00
git reset --soft HEAD~1
9
HindiSpeaker
Code:
Shell/Bash
2021-07-07 03:45:46
$ git reset --soft HEAD~1
3
whitedevil
Code:
Shell/Bash
2021-01-21 21:44:13
git reset --soft HEAD~1
0
Tags
git
last
Related
undo last commit pushed
git reset last commit
how to revert back to previous commit in git permanently
git revert last commit unpushed
roll back last commit in git
how to uncommit my last commit in git
git undo last commit
git amend last commit message
git revert last 2 commits
how to revert back to previous commit in git
New to Communities?
Join the community