Git merge branch with another empty branch

I have a branch X, from that one I made branch Y, and from that one I made branch Z.

I made changes in Z but not in Y. I want to bring all the changes from Z into Y and delete Z. I know it's a simple merge but I don't want to mess it up!

Read more here:

Content Attribution

This content was originally published by Nick at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: