Gitlab client: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 1: | Zeile 1: | ||
=Command line instructions= | =Command line instructions= | ||
;Default branch lokal setzen. | ;Default branch lokal setzen. | ||
| − | *git config --global init.defaultBranch | + | *git config --global init.defaultBranch main |
;Initialisierung | ;Initialisierung | ||
*git init | *git init | ||
Version vom 10. November 2022, 11:41 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 master