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 first commit git init -q cat > index.html << 'EOF'
Hello World!
Hello world!
This is the first file in my new Git Repo.
EOF cat > README.md << 'EOF' # hello-world Hello World repository for the Git tutorial EOF cat > bluestyle.css << 'EOF' body { background-color: lightblue; } EOF git add --all git commit -q -m "First release of Hello World!" # Add a new line to index.html and commit it sed -i 's||\n
A new line in our file!
|' index.html git commit -q -a -m "Updated index.html with a new line" git log --oneline
dceae35 (HEAD -> main) Updated index.html with a new line
712c39a First release of Hello World!