Gitlab client: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 11: | Zeile 11: | ||
*git commit -m "Initial commit" | *git commit -m "Initial commit" | ||
;Wir pushen nun | ;Wir pushen nun | ||
| − | *git push -u origin | + | *git push -u origin main |
Version vom 10. November 2022, 11:43 Uhr
Command line instructions
- Default branch lokal setzen.
- git config --global init.defaultBranch main
- Initialisierung
- git init
- Einstellen des Remote Repository
- git remote add origin git@git.xxxx.de:thomas.will/pfsense-scripts.git
- Alle Dateien zum commit vorbereiten.
- git add .
- Diesmal Kennzeichnung Initial, well es das erste mal ist.
- git commit -m "Initial commit"
- Wir pushen nun
- git push -u origin main