Korbs / Orphan Branch
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní
Create an orphan branch on your git repository
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 |
Korbs / If Else Statement in Astro
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní
1 | --- |
2 | var UserLogin = false |
3 | --- |
4 | |
5 | <!-- Use this method if the results only returns "true" or "false" --> |
6 | {UserLogin ? <p>Log Out</p> : <p>Sign in</p>} |
7 | |
8 | <!-- Use this method if the results return other results that are not labeled as "true" or "false --> |
9 | { |
10 | ()=> { |
Novější
Starší