尝试推送时,Bitbucket管道出现错误

时间:2020-09-01 11:51:24

标签: bitbucket

我已经在管道yml文件中写了这个。

 script:
   - apt-get update && apt-get install -y unzip git
   - cd mu-plugins/div-core
   - npm install
   - cd ..
   - cd ..
   - git add mu-plugins/div-core/assets/js/*
   - git add mu-plugins/div-core/assets/css/*
   - git add mu-plugins/div-core/assets/data/*
   - git commit -am "initial commit"
   - git pull
   - git add --all
   - git push git@git.wpengine.com:production/div.git staging 
   - echo "Pushed to PreProd New"

运行管道时出现此错误。

+ git push git@git.wpengine.com:production/div.git staging
error: src refspec staging does not match any.
error: failed to push some refs to 'git@git.wpengine.com:production/div.git'

请让我知道这里出了什么问题。

0 个答案:

没有答案