Hello,

Is it possible to re-merge a branch after it has been merged and the merged 
branch has also been modified.

In detail:

I created a branch from the master branch for a patch.(let's call it 
"patch")  In that patch I intrroduced also some small modifications which 
are necessary for the next "feature" branch. 

Th ereason I did this is that first these changes are not really part of 
the feature but required for it, and it was exactely the area I had to 
change anyway so not introducing these changes like this was like writing 
some useless code which would have to be reedited and replaced in the 
feature branch.

Later, while working on the feature branch I realized that the changes done 
for it were not correct (working in the patch but not as expected for the 
feature). 

I could now of course just reedit th efeature and change it, but I preferr 
to change it in the "patch" branch and re-merge.

Curse of action (git only, you understand that some editing took place 
in-between):


   1. Created branch "patch" from "master"
   2. Merged "patch" int master
   3. Created tag "tag-1"
   4. created branch "feature" from master
   5. switched to "patch"
   6. edited the patched area to also fit the later feature

Now I would like to re-merge "patch" as it is now after the last edit at 
the same place it was where it was merged before (at tag-1) instead of 
merging it again at the current timeline position of my feature branch.

Is this possible ?

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/843662f5-851c-4df3-85d8-c062e8dff0bcn%40googlegroups.com.

Reply via email to