Last active 1729816923

Create an orphan branch on your git repository

gistfile1.txt Raw
1cd repository
2git checkout --orphan NEW_ORPHAN_BRANCH_NAME
3git rm -rf .
4rm '.gitignore'
5echo "# New Orphan Branch" > README.md
6git add README.md
7git commit -a -m ":rocket: Init"
8git push origin NEW_ORPHAN_BRANCH_NAME