2024-06-20 21:35:44 +00:00
|
|
|
## Erstelle ein neues Repository von der Kommandozeile aus
|
|
|
|
|
|
|
|
touch README.md
|
2024-06-20 21:37:54 +00:00
|
|
|
|
2024-06-20 21:35:44 +00:00
|
|
|
git init
|
2024-06-20 21:37:54 +00:00
|
|
|
|
2024-06-20 21:35:44 +00:00
|
|
|
git checkout -b main
|
2024-06-20 21:37:54 +00:00
|
|
|
|
2024-06-20 21:35:44 +00:00
|
|
|
git add README.md
|
2024-06-20 21:37:54 +00:00
|
|
|
|
2024-06-20 21:35:44 +00:00
|
|
|
git commit -m "first commit"
|
2024-06-20 21:37:54 +00:00
|
|
|
|
2024-06-20 21:35:44 +00:00
|
|
|
git remote add origin https://gitea.ext.primaholding.de/lindner/BorgBackups.git
|
2024-06-20 21:37:54 +00:00
|
|
|
|
2024-06-20 21:35:44 +00:00
|
|
|
git push -u origin main
|
|
|
|
|
|
|
|
|
2024-06-20 21:37:54 +00:00
|
|
|
|
2024-06-20 21:35:44 +00:00
|
|
|
## Bestehendes Repository via Kommandozeile pushen
|
|
|
|
|
|
|
|
git remote add origin https://gitea.ext.primaholding.de/lindner/BorgBackups.git
|
2024-06-20 21:37:54 +00:00
|
|
|
|
2024-06-20 21:35:44 +00:00
|
|
|
git push -u origin main
|