I was working on a git branch with multiple commits (Release-X). Now I'm being asked to create a new branch for all commits after a specific commit (Release-Y). I have seen questions (and answers) about creating a new branch with a specific commit. But if I do, will it copy all the commits after that commit to the new branch?
How do I create a new branch from a specific commit (say commit-x) so that all my commits after commit-x are copied into this new branch?
Also once this is done, how do I change the existing branch so that commit-x is the last commit on this branch
Thanks.
EDIT
Based on the comments, it looks like what I need is not possible. Is it possible to rename an existing branch to something else? In that case I can create a new branch with that commit (Release-X1) and rename the existing branch to Release-Y?