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. | |
| − | + | *git config --global init.defaultBranch master | |
| − | *git config --global | + | ;Initialisierung |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
*git init | *git init | ||
| − | *git remote add origin | + | ;Einstellen des Remote Repository |
| + | *git remote add origin git@git.xxxx.de:thomas.will/pfsense-scripts.git | ||
| + | ;Alle Dateien zum commit vorbereiten. | ||
*git add . | *git add . | ||
| + | ;Diesmal Kennzeichnung Initial, well es das erste mal ist. | ||
*git commit -m "Initial commit" | *git commit -m "Initial commit" | ||
| + | ;Wir pushen nun | ||
*git push -u origin master | *git push -u origin master | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Version vom 10. November 2022, 11:31 Uhr
Command line instructions
- Default branch lokal setzen.
- git config --global init.defaultBranch master
- 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