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 upstream remote (the Try-it has no internet) git init -q --bare ../upstream.git git init -q echo "# repo" > README.md git add README.md git commit -q -m "First commit" git remote add upstream ../upstream.git git push -q upstream main # Someone else pushes a new-feature branch to upstream git clone -q ../upstream.git ../other git -C ../other switch -q -c new-feature echo "New feature" > ../other/feature.txt git -C ../other add feature.txt git -C ../other commit -q -m "Add new feature" git -C ../other push -q origin new-feature # Make a new local commit echo "A new line" >> README.md git commit -q -am "Updated README.md" git push upstream main
To ../upstream.git
f851a70..683aed0 main -> main