将 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"'