I'm actually trying to read up and understand submodules right now. The recommended reading I was handed is this: http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#submodules
I haven't played with it yet, so that's all I know of that I can help with.

As for migrating to git, I believe you can import just an svn module with git svn, but not git svnimport.

Jeff Anderson

Michael L Torrie wrote:
One of the nice things about SVN is that I can have one big SVN
repository and check out any part of it.  git only allows me to check
out an entire repository.  So clearly I am going to have to set up a
bunch if small git repositories.  This leads a bunch of questions for me:

- Having a repository in lots of scattered folders for various projects
is fine, but I'd like a place that I can push to that's centralized and
easily backup-able (clone-able?).  How is the best way to do this?  I
don't want to have to clone tons of repositories just to back up the
whole works to my VPS.
- Is it possible to break up the svn repository into little repositories
that I can import into git?  Currently git is unable to import from any
arbitrary branch of my subversion repository, which makes migration very
difficult.  Of course preserving the revision history would also be nice.
- How did any of you migrate from svn to git?
- when are submodules appropriate in git?

I know some of you maintain your configuration files in git.  How did
you structure this?  One git repository per program/directory?  The
entire file system?  On my servers I have a subversion directory checked
out to the root of the file system and each configuration file and
directory is "in-place" in this checked out subversion tree.  Makes it
really easy to just svn update the entire server at once.  How would you
recommend doing this with git?

thanks.

Michael

--------------------
BYU Unix Users Group http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________
List Info: http://uug.byu.edu/mailman/listinfo/uug-list



Attachment: signature.asc
Description: OpenPGP digital signature

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to