Gitlab client: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 1: | Zeile 1: | ||
=Erste Anmeldung= | =Erste Anmeldung= | ||
| + | ;Mail Adresse setzen | ||
*git config --global user.email thomas.will@xinux.de | *git config --global user.email thomas.will@xinux.de | ||
| + | ;Name festlegen | ||
*git config --global user.name "Thomas Will" | *git config --global user.name "Thomas Will" | ||
| − | |||
;Default branch lokal setzen. | ;Default branch lokal setzen. | ||
*git config --global init.defaultBranch main | *git config --global init.defaultBranch main | ||
| + | =Command line instructions= | ||
;Initialisierung | ;Initialisierung | ||
*git init | *git init | ||
Version vom 10. November 2022, 11:50 Uhr
Erste Anmeldung
- Mail Adresse setzen
- git config --global user.email thomas.will@xinux.de
- Name festlegen
- git config --global user.name "Thomas Will"
- 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
- 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