How to create a new empty branch for a new project
You can create a branch as an orphan:
This will create a new branch with no parents. Then, you can clear the working directory with:
and add
You can create a branch as an orphan:
git checkout --orphan <branchname>This will create a new branch with no parents. Then, you can clear the working directory with:
git rm --cached -r .and add
