【发布时间】:2014-12-29 08:49:51
【问题描述】:
您好,我想将一些东西推送到特定的远程分支
我通过
制作局部区域git clone https://~~~.Something
cd https://~~~.Something
我可以使用
访问特定的分支git checkout origin/[branch]
我想向我的特定分支 origin/[branch] 提交一些内容 但是当我试图用
推动一些东西时git push origin [branch]
我收到了这个错误
error: src refspec [branch] does not match any.
error: failed to push some refs to 'https://github.com/kkammo/yonseitree.git'
我试图解决这个问题,但我找不到任何解决方案......所以请帮助我T.T
【问题讨论】:
-
您在执行
git checkout origin/[branch]时没有收到关于detached HEAD的大警告消息
标签: git push clone git-checkout refspec