Witam.
Nie wiedziałem gdzie temat z gita umieścić.
Chodzi o to, że zrobiłem commita na branchu odbitym od brancha bazowego, którego wypchnąłem. Następnie wprowadziłem poprawki, które zakomitowałem. Problem w tym, że wszystko powinno pójść jednym commitem, więc zrobiłem rebase --interactive i połączyłem 2 commity w jeden, ale teraz mam problem z wypchnięciem tego:
error: failed to push some refs to 'xxx'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Można zrobić --force push, ale wolę tego uniknąć.
Jest jakiś sposób aby to ogarnąć?