Git

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche

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