I am planning to rename a branch in my git repository. I found out that the easy way to do that is to make a new branch from that branch and give it the desired name.
After that I want to delete the old branch (the parent). But I'm afraid that I will lose data in my new branch if I do that.
What happens with the commits originally made to the parent branch if I delete that branch?