Выход git push --set-upstream staging master
:
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'git@bitbucket.org:exampleOrgAbcxyz/infrastracture-staging.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
У меня есть staging
пульт.И я хотел бы перенести ветку staging
моего текущего репо на пульт staging
в его ветке master
.
git remote -v
composer git@bitbucket.org:exampleOrgAbcxyz/infrastructure.git (fetch)
composer git@bitbucket.org:exampleOrgAbcxyz/infrastructure.git (push)
origin git@bitbucket.org:exampleOrgAbcxyz/infrastructure.git (fetch)
origin git@bitbucket.org:exampleOrgAbcxyz/infrastructure.git (push)
staging git@bitbucket.org:exampleOrgAbcxyz/infrastracture-staging.git (fetch)
staging git@bitbucket.org:exampleOrgAbcxyz/infrastracture-staging.git (push)