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 two commits git init -q echo "
Hello world!
" > index.html git add index.html git commit -q -m "First version" echo "
A new line in our file!
" >> index.html git commit -q -a -m "Add a new line" # A local bare repository stands in for the remote (origin) git init -q --bare ../remote.git git remote add origin ../remote.git git push -q origin main git tag v1.0 git push origin v1.0 # The tag is now on the remote git ls-remote --tags origin
To ../remote.git
* [new tag] v1.0 -> v1.0
b2df4898431ad30d09715695283a80e01b22c2dc refs/tags/v1.0