Giter Site home page Giter Site logo

Comments (5)

joetjen avatar joetjen commented on June 22, 2024

You should, in any case, merge the develop branch (or rebase the feature branch if you really want to) into the feature branch you want to finish (assuming that's what you do when you get the "Error") beforehand. But I suppose a more detailed message that "Error" would be nice neverthelesse ;)

from gitflow4idea.

mcv avatar mcv commented on June 22, 2024

Merging the develop branch into the feature branch does not necessarily prevent this problem. Also, it puts git in merge mode, and the file with the conflict has <<<< HEAD stuff in it, so I have to finish the merge at that point, but without nice merge tools.

from gitflow4idea.

OpherV avatar OpherV commented on June 22, 2024

@mcv Can you go to version control\console and paste what it says when you get the error?

image

Also if git is in merge mode you can always use the IntelliJ merge tool with vcs > git > resolve conflicts

from gitflow4idea.

mcv avatar mcv commented on June 22, 2024

In the event log, it simply says: Error

In the console, it says:
Auto-merging test
CONFLICT (content): Merge conflict in test
Automatic merge failed; fix conflicts and then commit the result.
There were merge conflicts. To resolve the merge conflict manually, use:
git mergetool
git commit
You can then complete the finish by running it again:
git flow feature finish baz

When I have a merge conflict with the standard git plugin, it automatically opens IntelliJ's mergetool (yours, theirs, or merge) for me. With this git-flow plugin, it doesn't, and I can't figure out how to do it manually. It'd be nice if you could open the same merge dialog.

from gitflow4idea.

OpherV avatar OpherV commented on June 22, 2024

OK, thanks. I'll add a feature that invokes the merge dialog if a conflict arises.
In the meantime you can invoke it manually - top toolbar: vcs > git > resolve conflicts

from gitflow4idea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.