Skip to content
New issue

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

git revert merge #2

Open
xgqfrms opened this issue Dec 24, 2019 · 9 comments
Open

git revert merge #2

xgqfrms opened this issue Dec 24, 2019 · 9 comments

Comments

@xgqfrms
Copy link
Owner Author

xgqfrms commented Dec 24, 2019

$ git log
# q === quit

$ git reflog

image

@xgqfrms
Copy link
Owner Author

xgqfrms commented Dec 24, 2019

image

$ git revert -m 1 "commit_hash"
$ git reset --hard commit_sha

@xgqfrms
Copy link
Owner Author

xgqfrms commented Dec 24, 2019

@xgqfrms
Copy link
Owner Author

xgqfrms commented Dec 24, 2019

3fbcf77

image

@xgqfrms
Copy link
Owner Author

xgqfrms commented Dec 24, 2019

image

image

@xgqfrms
Copy link
Owner Author

xgqfrms commented Dec 24, 2019

image

5f2b189

image

@xgqfrms
Copy link
Owner Author

xgqfrms commented Dec 24, 2019

89ee651

89ee651

image

image

@xgqfrms
Copy link
Owner Author

xgqfrms commented Dec 24, 2019

image

image

@xgqfrms
Copy link
Owner Author

xgqfrms commented Dec 25, 2019

git 图解教程

https://www.cnblogs.com/xgqfrms/p/12094351.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant