社区所有版块导航
Python
python开源   Django   Python   DjangoApp   pycharm  
DATA
docker   Elasticsearch  
aigc
aigc   chatgpt  
WEB开发
linux   MongoDB   Redis   DATABASE   NGINX   其他Web框架   web工具   zookeeper   tornado   NoSql   Bootstrap   js   peewee   Git   bottle   IE   MQ   Jquery  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广  
产品
短视频  
印度
印度  
Py学习  »  Git

git将分离的头推送到remote的dev分支

Algebra • 5 年前 • 1700 次点击  

什么时候? git push 对于dev分支的远程repo,它报告

[detached HEAD 0091d9a] 2019-10-27 14:13:10
 1 file changed, 1 deletion(-)
fatal: You are not currently on a branch.
To push the history leading to the current (detached HEAD)
state now, use

    git push origin HEAD:<name-of-remote-branch>

审查分支机构

-  (press RETURN)
* (HEAD detached from be1d973)
  develop
  master

我应该跑吗

git push origin HEAD:develop

推动它目前的修改发展分公司?我害怕潜在的损害。

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/47963
 
1700 次点击  
文章 [ 2 ]  |  最新文章 5 年前