2020-04-15 14:14:34 +02:00
|
|
|
|
|
|
|
## Creating a new repository on the command line
|
2020-04-15 14:16:35 +02:00
|
|
|
```bash
|
2020-04-15 14:14:34 +02:00
|
|
|
touch README.md
|
|
|
|
git init
|
|
|
|
git add README.md
|
|
|
|
git commit -m "first commit"
|
|
|
|
git remote add origin https://eugit.opencloud.lu/cataspanglish/TUBES--Self-Assembly-Edition.git
|
|
|
|
git push -u origin master
|
2020-04-15 14:16:35 +02:00
|
|
|
```
|
2020-04-15 14:14:34 +02:00
|
|
|
## Pushing an existing repository from the command line
|
2020-04-15 14:16:35 +02:00
|
|
|
```bash
|
2020-04-15 14:14:34 +02:00
|
|
|
git remote add origin https://eugit.opencloud.lu/cataspanglish/TUBES--Self-Assembly-Edition.git
|
|
|
|
git push -u origin master
|
2020-04-15 14:16:35 +02:00
|
|
|
```
|
2020-04-15 14:13:35 +02:00
|
|
|
|