0

Question about Git and Bitbucket using Intellij - and how to work with it becouse I have problem with get it.

Project has branch 'master' and every change should go to the other branch and after reviev it could be merged to 'master'.

So for example: In Intellij I am on 'master' branch. I want to do some changes so I created branch 'issue/someName' and after work I do commit and next push it bitbucket. And next I have to do some changes becouse solution is incorrect - and there is my question. In other branches I see when people remove commits (it has status 'removed') and next, upper is modified commit.

How to do that? What should I do?

Lulex97
  • 231
  • 1
  • 10
  • You need to drop commits in the local branch and use the `git push -f` or similar feature in IDEA to push the change to remote. See some related links here https://stackoverflow.com/q/22682870, https://stackoverflow.com/q/3293531 and step 6 [here](https://www.jetbrains.com/help/idea/commit-and-push-changes.html#push) – LJ replica Feb 13 '23 at 03:25

0 Answers0