» Svn to Git

On twitter

Today I've moved all of my SVN repositories over to GitHub. 5 private reps and 4 public ones. Two of which you may know: PHP.JS and System_Daemon.

Reasons for not doing this earlier:

  • Not wanting to invest time in (new) Version Control Systems at all - I'd rather be coding
  • Didn't think Git's features would make a big difference for me:
    • Small projects, only a handful of commiters
    • Besides SVN, I already had NetBeans' local version control, so I could already mess things up and revert, without bothering the main repo.

Because of this it took me a while to take the plunge. But reasons that made me: 

  • Saw some nice git videos during my holidays
  • @felixge has been pushing me for a while : )
  • GitHub.com's tool-set saves a lot of time and opens new opportunities (Service Hooks, Collaboration, and even Donation)
  • No more need to maintain my own SVN server
  • It's easier for people to fork the projects and submit patches, which should improve the code
  • Once you start moving some stuff over, you'd better move all of it over so you can make use of git submodules instead of having to wire SVN & Git reps together
  • and last but not least:
    Got fed up with SVN being too delicate and stubborn

Changes

If you're involved in anyway with one of my projects, here are the changes.

The good stuff is moving over here, feel free to ask any questions, report problems, and please remember to update your bookmarks (or even your svn:externals if you have them referring to my reps)

This also means my Trac sites are going down in favor of GitHub's source view, issue system & integrated wiki.

Service Hooks

Furthermore I  created a @phpjs Twitter account so you can track when new stuff get's added to the PHP.JS GitHub repository and a @system_daemon account for the same reason.

If you don't like Twitter you can obviously also use GitHub's RSS feeds for this: phpjs, system_daemon.

 

Stay up to date

You can track my blog rss articles and rss comments. You may also find my rss bookmarks interesting. Or twitter Follow me on Twitter


Like this Article?

Your money is no good here, but
you can boost morale by spreading the word! : )


tags: git, svn, github, versioncontrol, phpjs, PEAR, system_daemon, trac, programming
category: Programming
read: 3,332 times

Add comment

(required, shown)(required, not shown)for syntax highlighting

[CODE="Javascript"]
your_code_here();
[/CODE]

Replace "Javascript"
with "php", "text", etc.
code (to make sure you are not a spammer)

 Track replies: rss feed comments feed

Comments

#2. Albert on 10 April 2010

Gravatar.com: AlbertBy the way, while posting the latter comment I found a:

/*
Fatal error: Uncaught exception 'Exception' with message 'Error connecting to host: d4e340e80c99.rest.akismet.com
*/

...


with all the complete trace and system paths. You should remember to disable error_reporting on production ;)

#1. Albert on 10 April 2010

Gravatar.com: AlbertI've been thinking on migrating to GIT too, but I always end up with the "Do I really have the need?"

More than learning how to push/fetch/pull (it sounds weird to me now) my concerns are on learning to use all the tools and finding the right ones for every different system I use win (work), mac, linux and if I'll be able to move all the pre-commit and post-update hooks without being a pain...

Congrats for doing it. I'd rather get back to code now, enough research :)