public
Description: bidirectional git svn learning center
Homepage:
Clone URL: git://github.com/simongregory/monkey-puzzle.git
name age message
file HelloWorld.txt Loading commit data...
file README.mdown
README.mdown

This is a Monkey Puzzle

Purpose

A place svn and git can peacefully co-exist and be experimented with. Why? Because I'd rather make mistakes here, than the public repositories I work with.

Resources

git-svn manual
git-svn crash course
github
git svn workflow
git ready

Steps

  • Created a svn directory here
  • Committed a couple of files.
  • cd to working copy and svn info:

    URL: https://tinkermate.googlecode.com/svn/trunk/monkey-puzzle
    Repository Root: https://tinkermate.googlecode.com/svn
    Repository UUID: 097f617c-e63f-0410-b65c-95cbd7f2326a
    Revision: 179
    Node Kind: directory
    Schedule: normal
    Last Changed Author: abstractrobot.org
    Last Changed Rev: 179
    Last Changed Date: 2009-02-06 11:48:34 +0000 (Fri, 06 Feb 2009)
    
  • create a users file for git to maps svn authors to git users.

    abstractrobot.org = Simon Gregory <my@email.org>
    
  • Clone svn repostiory using authors file whilst keeping commit messages unchanged. There's also a -s option for trunk branch recognition if you need it.

    git svn --authors-file=/path/to/git-svn-authors clone --no-metadata https://tinkermate.googlecode.com/svn/trunk/monkey-puzzle monkey-puzzle
    
  • cd to newly created git repository and make it remote

    cd monkey-puzzle
    git remote add origin git@github.com:simongregory/monkey-puzzle.git
    git push origin master