24 lines
402 B
Markdown
24 lines
402 B
Markdown
tadaaa!
|
|
|
|
bam! bam!
|
|
|
|
|
|
|
|
Creating a new repository on the command line
|
|
|
|
```
|
|
touch README.md
|
|
git init
|
|
git checkout -b main
|
|
git add README.md
|
|
git commit -m "first commit"
|
|
git remote add origin https://git.bejenaru.net/vlad/Test.git
|
|
git push -u origin main
|
|
```
|
|
Pushing an existing repository from the command line
|
|
|
|
```
|
|
git remote add origin https://git.bejenaru.net/vlad/Test.git
|
|
git push -u origin main
|
|
```
|