Korbs revised this gist 11 months ago. Go to revision
1 file changed, 8 insertions
how-to.txt(file created)
| @@ -0,0 +1,8 @@ | |||
| 1 | + | cd repository | |
| 2 | + | git checkout --orphan NEW_ORPHAN_BRANCH_NAME | |
| 3 | + | git rm -rf . | |
| 4 | + | rm '.gitignore' | |
| 5 | + | echo "# New Orphan Branch" > README.md | |
| 6 | + | git add README.md | |
| 7 | + | git commit -a -m ":rocket: Init" | |
| 8 | + | git push origin NEW_ORPHAN_BRANCH_NAME | |
Newer
Older