HEAD detached at origin/master 问题的解决

https://blog.csdn.net/weixin_43742708/article/details/110889776

解决方法:

首先git checkout -b temp

其次git checkout master

就可以git push了

原文地址:https://www.cnblogs.com/Ootori/p/15464573.html