I am working in branch let say b1. The main branch that is to be deployed is let say stage. I forked my b1 branch from master - this is our convention.
So here is the situation. I am currently in b1. In one file, I will call it users.txt there is a snippet that looks like this:
print("Hello user")
print("Bye user")
In stage branch the same snippet looks like this:
print("Hello user")
print("You are welcome")
print("Bye user")
Now in my working (b1) branch I am suppose to make such change that when merged to stage will remove this line: print("You are welcome") and make the stage branch look like it. In other words after executing git checkout stage git merge b1 - the stage file user.txt to look like this:
print("Hello user")
print("Bye user")
In yet other words: Remove line in branch stage, by making the change in branch b1 where the line that is to be removed does not exist in b1 in the first place.
One caveat: I am not allowed to merge stage into b1 by convention(to be honest - I don't understand)