Exchange code between rails projects

Possible duplicate:
Can you share the file and its history between the two git repositories?

I have several rails projects (in one git) that have some common CSS, layouts and helpers. My first decision to share these files between projects was to create some symbolic links, but I'm not quite sure if this is the way to go. Is there a nicer solution or symbolic links, perhaps in the end?

+3
source share
4 answers

Yes, symbolic links are a good way to go, I will probably do it too.

0
source

You can use git submodules to separate common parts.

: http://railscasts.com/episodes/96-git-on-rails : http://git-scm.com/docs/git-submodule

+3

-1 . , . (gem), , , , .

+2

git . , git. (capastrino .., ).

0

All Articles