git - Sourcetree Failed to push some refs to repository -
i use sourcetree version control system master , develop branch, feature, hotfix , release branches. accidentally on branch master, committed , pushed origin should have committed feature branch feature/new-design. when doing git flow release process 2 errors described below , therefore bitbucket doesn´t trigger deployment on connected dploy.io. question is: how can beloved git flow process withour errors? :)
details: there no commits, made following steps after have done release - show what´s going on :)
1) git flow finish feature new-design (while keeping it) works without errors
summary of actions: - feature branch 'feature/new-design' merged 'develop' - feature branch 'feature/new-design' still available - on branch 'develop' completed successfully.
2) being on development , starting new release works without errors
summary of actions: - new branch 'release/1.7j' created, based on 'develop' - on branch 'release/1.7j'
follow-up actions: - bump version number now! - start committing last-minute fixes in preparing release - when done, run: git flow release finish '1.7j' completed successfully.
3) being on release 1.7j , finishing it, throws errors. parameters used: tag message, delete branch , push changes remote.
switched branch 'master' deleted branch release/1.7j (was d1277f5). up-to-date up-to-date 'this correct address of repo' * [new tag] 1.7j -> 1.7j error: unable delete 'release/1.7j': remote ref not exist error: failed push refs 'this correct address of repo' not delete remote release/1.7j in origin. completed errors, see above.
4) after clicking close master branch looks in following picture:
please let me know if need more info. helping me out :)
solution: saw in bitbucket branches develop, feature/new-design , release-1.7 weren´t there, branch master. directly before finishing release pushed origin , selected every branch (master, develop, new-design , release) branches added bitbucket. when finishing release worked charm , dploy automatically did incremental deployment.