Home  Home  Home  Kontakt  Kontakt  Kontakt  Inhalt  Inhalt  Inhalt  Blog  Blog  Blog  FAQ  FAQ  FAQ

Neues Hoster Repo

Leer clonen (foo)

git clone git@gitlab.com:it-gro/foo.git
cd foo
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master

Bestehendes Projekt (bar)

cd bar
git init
git remote add origin git@gitlab.com:it-gro/bar.git
git add .
git commit -m "Initial commit"
git push -u origin master

Bestehendes Repo (foobar)

cd foobar
git remote rename origin old-origin
git remote add origin git@gitlab.com:it-gro/foobar.git
git push -u origin --all
git push -u origin --tags