Create an orphan branch i.e. branch with no parent commit

suggest change
git checkout --orphan new-orphan-branch
The first commit made on this new branch will have no parents and it will be the root of a new history totally disconnected from all the other branches and commits.

source

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents