Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
undo git
Inanc Senocak
Programming language:
Shell/Bash
2021-06-20 11:50:20
0
Q:
undo git
Syk
Code:
Shell/Bash
2021-07-06 08:28:43
git reset --hard
3
hamza
Code:
Shell/Bash
2021-01-21 21:47:15
# KEEP CHANGES git reset --soft HEAD~1 # REMOVE CHANGES git reset --hard HEAD~1
8
Tags
git
Related
how to undo git add --all
git undo merge
git undo all changes
git undo commit
git undo stage
git undo add
undo git pull
git undo last commit
how to undo init git
how to undo a git stash
how to undo commit
git undo rebase
undo add stage git
undo a git merge
undo commit
New to Communities?
Join the community