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
# Create a repository with a short history git init -q echo "
Hello world!
" > index.html git add index.html git commit -q -m "Initial commit" git switch -q -c feature-x echo "
" > contact.html git add contact.html git commit -q -m "Add contact form" git switch -q main echo "
About
" > about.html git add about.html git commit -q -m "Add about page" --author="Alice
" git merge -q --no-edit feature-x echo "
A new line in our file!
" >> index.html git commit -q -a -m "Updated index.html with a new line" git diff ee6f320 9a8cf23
diff --git a/index.html b/index.html
index 597ecf5..c57442b 100644
--- a/index.html
+++ b/index.html
@@ -1 +1,2 @@
<h1>Hello world!</h1>
+<p>A new line in our file!</p>