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 diff origin/main
diff --git a/README.md b/README.md
index 66d9f63..1534e6c 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1 @@
# hello-world
-It now includes steps for the remote