git - git push 到远程分支 bitbucket 管道
问题描述
我正在为修补程序分支运行构建 bitbucket 管道。成功执行步骤后,我希望下一步将分支推送到develop
分支。我正在尝试使用以下命令:
- step:
script:
- git push "https://$bitbucket_username:$bitbucket_password@bitbucket.org/clinically/eregbinder-backend/branch/develop"
这会产生以下错误:
fatal: unable to access 'https://<username>:<password>@bitbucket.org/clinically/eregbinder-backend/branch/feature/dev2/ERB-899-implement-feature-vs-release/': Port number ended with 'S'
不确定以“S”开头的密码是否与错误消息有关。
如何从 bitbucket 构建容器中将我的分支推送到我的 repo 中的远程分支?
解决方案
推荐阅读
- javascript - 无法理解带有“this”关键字的函数的行为
- javascript - 函数参数中的Javascript奇怪语法
- php - 如何正确要求条带库以避免条带 Webhook 上的错误 500
- tensorflow - 您将使用哪种模型(GPT2、BERT、XLNet 等)进行文本分类任务?为什么?
- python - 如何将 ListedColorMap 转换为颜色列表?
- ios - 具有动态高度的单元格的手风琴式动画的 UITableView
- reactjs - 映射路由器的属性数组时要指定什么类型?
- c++ - 如何发送通过绑定到函数/方法创建的功能对象?
- c++ - int main() 中的内存限制
- sql - 如何按一个字段过滤唯一值?