init I
This commit is contained in:
46
0000_README/README.md
Normal file
46
0000_README/README.md
Normal 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/
|
||||
|
||||
Reference in New Issue
Block a user