当我尝试运行管道时,出现此错误
+ git push -u origin master
error: src refspec master does not match any.
error: failed to push some refs to 'http://bitbucket.org/jdrftech/jdrf-org'
我的管道是这样写的
# This is a sample build configuration for PHP.
# Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: node:latest
pipelines:
branches:
preprod-jdrf:
- step:
script:
- apt-get update && apt-get install -y unzip git
- cd mu-plugins/jdrf-core
- npm install
- cd ..
- cd ..
- git add mu-plugins/jdrf-core/assets/js/*
- git add mu-plugins/jdrf-core/assets/css/*
- git add mu-plugins/jdrf-core/assets/data/*
- git commit -am "initial commit done"
- git push -u origin master
- echo "Pushed to PreProd New"
请让我知道管道错误。预先感谢。