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 change to the remote git clone -q ../remote.git ../other echo "It now includes steps for the remote" >> ../other/README.md git -C ../other commit -q -am "Updated README.md" git -C ../other push -q # Fetch the change, but do not merge it yet git fetch -q origin git merge -q origin/main git status
On branch main
Your branch is up to date with 'origin/main'.
nothing to commit, working tree clean