I use Eclipse with Git Flow extension. I try to commit interfaces and classes in two different features branches. After the first commit of the interface in the first feature branch I want to do the same with classes. But the classes have mistakes because some part of code do not be recognized (for example variables, methods etc) because this part of code is in the other branch. What can I do?