I want to create a new GitHub branch, called release.

This branch needs to be empty! However, there is an existing branch with x commits and I don’t want to have its commit history.

The only method I found is to create a local --orphan branch.

5 Answers
5

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *