进行更改并以独立的状态提交它们 独立的HEAD模式 Reflogs 那你应该做什么?

问题描述

我使用git checkout <commit_SHA>访问了git树中的早期提交。 Git向我显示了以下消息:

You are in 'detached HEAD' state. You can look around,make experimental
changes and commit them,and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

这是否意味着当我返回到最近的提交(使用git checkout master)时,我在此处所做的任何更改(甚至通过提交更改)都不会保留?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)