We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/xgqfrms/git
https://git.xgqfrms.xyz/git-add/git_real_slides.pdf
# 软重置 commit $ git reset --soft HEAD^ # 硬重置 commit $ git reset --hard HEAD^ # HEAD^^ === HEAD~2 $ git reset --hard HEAD^^ # 等价于 $ git reset --hard HEAD~2
The text was updated successfully, but these errors were encountered:
HEAD^^
HEAD~2
https://git-scm.com/docs/git-reset#Documentation/git-reset.txt-Undoacommitmakingitatopicbranch
https://git-scm.com/docs/git-reset#Documentation/git-reset.txt-Undocommitspermanently
Sorry, something went wrong.
HEAD^
HEAD~1
https://devconnected.com/how-to-git-reset-to-head/
https://www.runoob.com/git/git-reset.html
No branches or pull requests
code-school-git-real
pdf
https://github.com/xgqfrms/git
https://git.xgqfrms.xyz/git-add/git_real_slides.pdf
git reset
The text was updated successfully, but these errors were encountered: