# Moved Rails Projects to Git?

**URL:** <https://www.ruby-forum.com/t/moved-rails-projects-to-git/124108>\
**Category:** Rails\
**Created:** [December 24, 2007, 8:55pm UTC](https://www.ruby-forum.com/t/moved-rails-projects-to-git/124108 "2007-12-24T20:55:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [December 24, 2007, 8:55pm UTC](https://www.ruby-forum.com/t/moved-rails-projects-to-git/124108/1 "2007-12-24T20:55:32Z")

</div>

Has anyone on the list moved all their svn rails projects to git?  
There are a ton of blog posts and various instructions on how to co-  
exist with a master svn repo, serving out your rails project, and then  
locally using git, but I have yet to find one that explains the  
process of moving everything to git permanently. So far I’ve cloned  
all my rails projects, but I’m not sure if that’s the right way to go  
about it.

Rick Olsen twiitterd a link to a ruby script on pastie that did  
something like this, however, pastie is down at the moment so I cannot  
get to it.

---

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [December 25, 2007, 6:54am UTC](https://www.ruby-forum.com/t/moved-rails-projects-to-git/124108/2 "2007-12-25T06:54:43Z")

</div>

On 12/24/07, Matt S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> something like this, however, pastie is down at the moment so I cannot  
> get to it.

[http://weblog.techno-weenie.net/2007/12/25/moving-to-git](http://weblog.techno-weenie.net/2007/12/25/moving-to-git)

–  
Rick O.  
[http://lighthouseapp.com](http://lighthouseapp.com)  
[http://weblog.techno-weenie.net](http://weblog.techno-weenie.net)  
[http://mephistoblog.com](http://mephistoblog.com)

---

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [December 26, 2007, 5:35pm UTC](https://www.ruby-forum.com/t/moved-rails-projects-to-git/124108/3 "2007-12-26T17:35:56Z")

</div>

I’ve been seeing git come up a lot recently. Where’s all the hype  
coming from? What does it give me that SVN doesn’t, because I’m in  
love with SVN (previously used SourceSafe and CVS). When did this  
start, and is there like a good writeup anywhere on why to use git  
instead of SVN?

---

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [December 26, 2007, 6:08pm UTC](https://www.ruby-forum.com/t/moved-rails-projects-to-git/124108/4 "2007-12-26T18:08:44Z")

</div>

On Dec 24, 2007, at 2:55 PM, Matt S. wrote:

> Has anyone on the list moved all their svn rails projects to git?

We looked at it but we rely pretty heavily on Piston so we haven’t  
moved yet. We also looked at SVK, with similar outcome.

-faisal

---

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [December 26, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/moved-rails-projects-to-git/124108/5 "2007-12-26T18:12:50Z")

</div>

On 12/26/07, Ian Z. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’ve been seeing git come up a lot recently. Where’s all the hype  
> coming from?

Here is Linus’ talk at Google about git:

[![](https://img.youtube.com/vi/4XpnKHJAok8/hqdefault.jpg "Tech Talk: Linus Torvalds on git") ](https://www.youtube.com/watch?v=4XpnKHJAok8)

It’s not extremely technical but it’s good for a general idea of what  
git provides.

–  
Greg D.  
[http://destiney.com/](http://destiney.com/)

---

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [December 26, 2007, 7:59pm UTC](https://www.ruby-forum.com/t/moved-rails-projects-to-git/124108/6 "2007-12-26T19:59:24Z")

</div>

For what it’s worth, the mechanics of moving from SVN to Git are  
pretty trivial – use git-svn to clone the repository and go from  
there. The commands are different but the concepts aren’t alien  
(except perhaps with the idea of moving patches between repositories).

The bigger issues come in with Rails-supporting software that relies  
on SVN. For example, if you use piston to manage your plugins you’ll  
need a new way. If you use Capistrano to deploy you’ll need to  
reconfigure to use Git, etc.

That latter problem has been solved  
([Promovare web și campanii de marketing online | SEO și optimizare | Realizare Site și WebDesign | Advertise.ro](http://scie.nti.st/2007/9/4/capistrano-2-0-with-git-shared-repository)  
), but I haven’t yet seen a good solution to plugin management. If  
someone has one, please do post it.

-faisal

---

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [December 26, 2007, 6:58pm UTC](https://www.ruby-forum.com/t/moved-rails-projects-to-git/124108/7 "2007-12-26T18:58:29Z")

</div>

Thanks! Watching this now.

---

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [December 26, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/moved-rails-projects-to-git/124108/8 "2007-12-26T20:05:50Z")

</div>

On Wed, 26 Dec 2007 08:35:03 -0800, Ian Z. wrote:

> What does it give me that SVN doesn’t, because I’m in love with SVN  
> (previously used SourceSafe and CVS).

For SVN, I like google code 🙂

-Thufir
