Git

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen

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

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