Table of Contents

  1. Setup
  2. Git svn
  3. Branching

Git

Git is a distributed revision control system with an emphasis on speed. Git was initially designed and developed by Linus Torvalds for Linux kernel development. Every Git working directory is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server.

Currently git is being evaluated as a candidate to replace SVN

Setup

the following global git setup is recommendet for windows based systems. Mac and Linux systems should use another {{core.autocrlf}} setting: {{input}}.

[user]
	name = Xxxxx Yyyyyyyy
	email = x.yyyyy@bgbm.org
[core]
	autocrlf = true
	whitespace = indent-with-non-tab,-trailing-space,-space-before-tab
[apply]
	whitespace = fix
	ignorewhitespace = change

Git svn

Clone a svn sub-repository. It is important to specify the sub folders in trunk branches and tags!!

Here cdmlib is used in the example:

git svn clone http://dev.e-taxonomy.eu/svn/ -T trunk/cdmlib -b branches/cdmlib -t tags/cdmlib

Branching