Replies: 1 comment
|
Use |
0 replies
Answer selected by
dwaddle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use
git reset --soft HEAD~1to keep changes staged, orgit reset --hard HEAD~1to discard them.