git cancel last commit
git reset --soft HEAD~1
git undo last commit
$ git reset --soft HEAD~1
undo last commit
$ git reset --hard HEAD~1
reset to commit
# This will detach your HEAD, that is, leave you with no branch checked out:
git checkout 0d1d7fc32
reset to commit
# This will detach your HEAD, that is, leave you with no branch checked out:
git checkout 0d1d7fc32
# to go back to original branch, git checkout master
bootstrap cdn
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
bootstrap cdn
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us