(Die Seite wurde neu angelegt: „== all-inkl & git == Ordner anlegen <syntaxhighlight lang="Bash"> mkdir REPONAME.git && cd REPONAME.git </syntaxhighlight> git initialisieren <syntaxhighlight lang="Bash"> git --bare init </syntaxhighlight> w0000000 ist der eurer Loginname für das KAS. <syntaxhighlight lang="Bash"> git clone ssh://ssh-w0000000@KASDOMAIN.de/www/htdocs/w0000000/git/REPONAME.git </syntaxhighlight> First commit <syntaxhighlight lang="Bash"> git add . git commit -a -m 'Fir…“) |
K (1 Version importiert) |
(kein Unterschied)
|
Aktuelle Version vom 30. Oktober 2024, 10:41 Uhr
all-inkl & git
Ordner anlegen
mkdir REPONAME.git && cd REPONAME.git
git initialisieren
git --bare init
w0000000 ist der eurer Loginname für das KAS.
git clone ssh://ssh-w0000000@KASDOMAIN.de/www/htdocs/w0000000/git/REPONAME.git
First commit
git add .
git commit -a -m 'First commit'
git push -u origin master
Quelle: git und all-inkl
Allgemein
Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/USERNAME/XXX.git
git push -u origin master
Push an existing repository from the command line
git remote add origin https://github.com/USERNAME/XXX.git
git push -u origin master