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