Github

Aus xinux.net
Zur Navigation springen Zur Suche springen

Test

  • ssh -T git@github.com
Hi doktor-xinux! You've successfully authenticated, but GitHub does not provide shell access.

Projekt Seite

git@github.com:doktor-xinux/localwiki.git

Beispiel neues Projekt

  • echo "# localwiki" >> README.md
  • git init
  • git add README.md
  • git commit -m "first commit"
  • git branch -M main
  • git remote add origin git@github.com:doktor-xinux/localwiki.git
  • git push -u origin main

oder exsistierendes Projekt pushen

  • git remote add origin git@github.com:doktor-xinux/localwiki.git
  • git branch -M main
  • git push -u origin main

Projekt ändern und pushen

  • git add .
  • git commit -m "second commit"
  • git push -u origin main