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
# Set up a repository where feature-branch changes one line git init -q echo "
Hello world!
" > index.html git add index.html git commit -q -m "First release of Hello World!" git checkout -q -b feature-branch echo "
Hello Git!
" > index.html git commit -q -am "Change the heading" git checkout -q main # Meanwhile, main gets a new commit too echo "# hello-world" > README.md git add README.md git commit -q -m "Add README" git merge --squash feature-branch
Automatic merge went well; stopped before committing as requested
Squash commit -- not updating HEAD