This commit is contained in:
2024-10-13 23:27:09 +02:00
commit 30627b25b3
48 changed files with 1919 additions and 0 deletions

46
0000_README/README.md Normal file
View File

@@ -0,0 +1,46 @@
GIT Beschreibung
Datei hinzu
git add
git commit
git push
Status
git status
Repo klonen
git clone git@panel.agserver.de:scripts.git [Verzeichnis]
Repo aktualisieren
git pull
Verzeichnis aus Repo
mkdir VERZ
cd VERZ
git init
git remote add NAME git@panel.agserver.de:scripts.git
git fetch
git checkout NAME/master -- [VERZEICHNIS_aus_Repo]
# Beispiel
mkdir /git_scripts
cd /git_scripts
git init
git remote add gs git@panel.agserver.de:scripts.git
git fetch gs
HHH=$(echo $HOSTNAME | tr '[A-Z]' '[a-z]')
git checkout gs/master -- 0001_srv-scripts/$HHH/
Verzeichnis aktualisieren
git fetch gs
git checkout NAME/master -- [VERZEICHNIS_aus_Repo]
#Beispiel
git fetch gs
HHH=$(echo $HOSTNAME | tr '[A-Z]' '[a-z]')
git checkout gs/master -- 0001_srv-scripts/$HHH/