Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
# A local repository plays the part of the remote (the Try-it has no internet) git init -q --bare ../remote.git git init -q echo "# hello-world" > README.md git add README.md git commit -q -m "First commit" git remote add origin ../remote.git git push -q -u origin main # Someone else pushes a new branch, html-skeleton, to the remote git clone -q ../remote.git ../other git -C ../other switch -q -c html-skeleton echo "" > ../other/index.html git -C ../other add index.html git -C ../other commit -q -m "Added index.html with basic skeleton" git -C ../other push -q origin html-skeleton # Pull, so the new remote branch is known locally git pull -q git checkout -q html-skeleton git branch
* html-skeleton
main