Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^2: Unrelated scripts and version control

by loris (Hermit)
on Sep 24, 2010 at 07:06 UTC ( #861741=note: print w/replies, xml ) Need Help??

in reply to Re: Unrelated scripts and version control
in thread Unrelated scripts and version control

Just running git init to create a local repository is obviously not such a big deal. However, if I want to collaborate with my colleagues, I have to set up a corresponding bare repository on a server that I can then push to. Doing this for a couple of dozen individual scripts seems like it might be unmanagable overkill.

Regarding the history, I do want this for individual files and I don't have such things as "finished" projects. I mainly have stuff for myself, which either contains bugs or is not as good as it could be, or both.

Perhaps I just need to try working with a small number of repositories and see how it feels. I gather that can always merge them at some later point.



  • Comment on Re^2: Unrelated scripts and version control

Replies are listed 'Best First'.
Re^3: Unrelated scripts and version control
by lima1 (Curate) on Sep 24, 2010 at 14:40 UTC
    As I said, I didn't experience an overhead. In SVN, you normally need one step to prepare the directory for SVN import (e.g. the trunk/ branch/ merge directory structure) which somehow would correspond to git init. To publish it, svn import would correspond to git clone -bare.

    Your couple of dozen scripts are all unrelated? So there is no group of scripts your colleagues would likely want to fetch together?

    What I meant with my history comment was, I also used to have a single big SVN repository for almost everything. My SVN dump was huge at the end. But for most projects, I never actually needed the history later on. Now I have a decent backup system and git when version control is actually needed (collaboration, branching etc.). So much cleaner and better...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://861741]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2018-06-24 13:40 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.