Here is the situation :
I have a develop branche and a feature branche, when finishing the feature I want to merge it into develop. Conflicts arise so, I first pull develop into feature to resolve it then commit the modifications BUT :
I commit only the file with the conflict resolved and forget the rest. So when I merge feature into develop it rollback lots of commits...
origin develop> ----o-c-c-c-o-------m------
\ \ /
local feature> f-------m-r-o
The commits 'c' are merge with feature but when merging again with develop I forgot them.
How can I solve this ?
EDIT :
I'm not very experimented with git so i'm asking to have an answer more specific to my problem than the everage git reset response