GitTutorial: Unterschied zwischen den Versionen
aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springenOneup (Diskussion | Beiträge) |
K |
||
Zeile 24: | Zeile 24: | ||
* install git. [http://code.google.com/p/git-osx-installer/ osx installer] | * install git. [http://code.google.com/p/git-osx-installer/ osx installer] | ||
* ssh-keygen, put public key on your http://github.com account | * ssh-keygen, put public key on your http://github.com account | ||
+ | |||
+ | [[Kategorie:Howto]] |
Aktuelle Version vom 5. April 2013, 11:28 Uhr
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
- install git. osx installer
- ssh-keygen, put public key on your http://github.com account