git推送到远程分支bitbucket管道

git推送到远程分支bitbucket管道,git,bitbucket-pipelines,Git,Bitbucket Pipelines,我正在运行修补程序分支的内置bitbucket管道。成功执行步骤后,我希望下一步将分支推到developmentbranch。 我正在尝试使用以下命令: - step: script: - git push "https://$bitbucket_username:$bitbucket_password@bitbucket.org/clinically/eregbinder-backend/branch/develop" 这将产生以下错误

我正在运行修补程序分支的内置bitbucket管道。成功执行步骤后,我希望下一步将分支推到
development
branch。 我正在尝试使用以下命令:

      - 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'
fatal:无法访问'https://:@bitbucket.org/clinical/eregbinder backend/branch/feature/dev2/ERB-899-implement-feature-vs-release/':端口号以'S'结尾
不确定以“S”开头的密码是否与错误消息相关


如何从bitbucket构建容器中将我的分支推送到repo中的远程分支?

提示:
git push$repository\u URL\u root$local\u branch[:$remote\u branch]
。存储库URL根,而不是repo+分支;分支分别提供。至于端口号错误:
$bitbucket\u username
$bitbucket\u password
是否包含特殊(URL语法)字符?我怀疑某处有
@
。请记住,您必须对特殊字符进行编码。