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
-- 大多数人会告诉你 git reset -- 但是观察 git log 后你会发现不知道应该回退到哪个 head -- 打开 .git/logs/refs/heads 中对应分支的文件
git reset
git log
head
.git/logs/refs/heads
18bab9c1826aa0c9baf5ff97731f43c7ec8b6cfa 43436cdf30b4104f42ecd4bfdbe2b04aef05ba99 [email protected] <[email protected]> 1516161174 +0800 rebase finished: refs/heads/dev onto 3fdf289e964245ef4e7b959edb1e74d16b18afd0
-- 找到对应的 rebase finished 语句,reset 到前面的 head 即可
rebase finished
reset
The text was updated successfully, but these errors were encountered:
No branches or pull requests
-- 大多数人会告诉你
git reset
-- 但是观察
git log
后你会发现不知道应该回退到哪个head
-- 打开
.git/logs/refs/heads
中对应分支的文件-- 找到对应的
rebase finished
语句,reset
到前面的head
即可The text was updated successfully, but these errors were encountered: