Git: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
(Git Introduction / Tutorial)
(Git Installation)
Zeile 15: Zeile 15:
 
* [http://code.google.com/p/git-osx-installer/ git OS X Installer]
 
* [http://code.google.com/p/git-osx-installer/ git OS X Installer]
 
* [http://help.github.com/mac-key-setup/ github mac key setup]
 
* [http://help.github.com/mac-key-setup/ github mac key setup]
 +
 +
=== MS Windows ===
 +
 +
?
  
 
= Git Introduction / Tutorial =
 
= Git Introduction / Tutorial =

Version vom 10. September 2012, 11:48 Uhr

Intro

Git is a version control system. It's more powerful than svn and quite confusing (for starters).

Git Installation

Linux

   sudo apt-get install git

UI (there are several possibilities)

   sudo apt-get install git-cola gitk

OS X

MS Windows

?

Git Introduction / Tutorial

git clone fromsomeurl
or
git init
git pull
git add file
git commit -m "holla"
git push
git stash # stashes uncommited changes away
git stash apply # gets stash back and applies it
git branch --track thebranch origin/thebranch
switch to a remote branch and track it