GitTutorial

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Version vom 12. Juni 2009, 02:47 Uhr von Oneup (Diskussion | Beiträge) (Die Seite wurde neu angelegt: == all that git needs and never is supplied by default == <pre>git config --global user.name "Your Name Comes Here" git config --global user.email you@yourdomain.examp...)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springenZur Suche springen
Die druckbare Version wird nicht mehr unterstützt und kann Darstellungsfehler aufweisen. Bitte aktualisiere deine Browser-Lesezeichen und verwende stattdessen die Standard-Druckfunktion des Browsers.

all that git needs and never is supplied by default

git config --global user.name "Your Name Comes Here"
git config --global user.email you@yourdomain.example.com
git config --global color.diff auto
git config --global color.status auto
git config --global color.branch auto


get update: pull

git pull

commit / push

git add file.rb
git commit -m "commit message"
git push
  • commit updates your local repositry
  • push writes it to the server (so other git users can check out aswell)


Git setup

ssh-keygen, put public key on your http://github.com account