gpt4 book ai didi

git:错误:src refspec master 不匹配任何

转载 作者:太空狗 更新时间:2023-10-29 12:49:18 27 4
gpt4 key购买 nike

<分区>

将 git 存储库克隆到目录“hggit”并设置远程源后

mbm:hggit my name$ git remote add origin git@code.getpantheon.com:"mystringhere"

编辑文件后,我提交了更改(位于子目录中)

mbm:handelgroup michaelmausler$ git commit -m "first commit"
[master 5a29bc8] first commit
1 files changed, 2 insertions(+), 2 deletions(-)

然后我尝试推送文件更改并收到以下错误

mbm:hggit myname$ git push origin master
error: src refspec master does not match any.
error: failed to push some refs to 'git@code.getpantheon.com:"mystringhere"'

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com