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 one commit git init -q printf "Hello World\nWelcome to Git\n" > index.html git add index.html git commit -q -m "First version" # Indent the second line, and change the first one sed -i 's/Hello World/Hello Git/; s/^Welcome/ Welcome/' index.html echo "git diff:" git diff echo "git diff -w:" git diff -w
git diff:
diff --git a/index.html b/index.html
index 1be8d65..0a6a779 100644
--- a/index.html
+++ b/index.html
@@ -1,2 +1,2 @@
-Hello World
-Welcome to Git
+Hello Git
+ Welcome to Git
git diff -w:
diff --git a/index.html b/index.html
index 1be8d65..0a6a779 100644
--- a/index.html
+++ b/index.html
@@ -1,2 +1,2 @@
-Hello World
+Hello Git
Welcome to Git