Gitlab client
Version vom 10. November 2022, 12:01 Uhr von Thomas.will (Diskussion | Beiträge) (→Command line instructions)
Erste Anmeldung
- Name festlegen
- git config --global user.name "Thomas Will"
- Mail Adresse setzen
- git config --global user.email thomas.will@xinux.de
- Default branch lokal setzen.
- git config --global init.defaultBranch main
Command line instructions
- Initialisierung
- git init
- Einstellen des Remote Repository
- git remote add origin git@git.xxxx.de:thomas.will/pfsense-scripts.git
- Wenn schon etwas im Projekt drin ist pullen wie die aktuelle Version.
- git pull
- 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