gistfile1.txt
· 216 B · Text
Brut
cd repository
git checkout --orphan NEW_ORPHAN_BRANCH_NAME
git rm -rf .
rm '.gitignore'
echo "# New Orphan Branch" > README.md
git add README.md
git commit -a -m ":rocket: Init"
git push origin NEW_ORPHAN_BRANCH_NAME
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 |