What is a VCS repository?

41,913

Solution 1

The Wikipedia definition is correct. Think about a repository from which you would install Linux packages. As far as VCS, it stands for Version Control System and therefore a VCS repository is one for a Version Control System like Git.

Solution 2

The wikipedia definition for repository is right. The pro-git book has a very nice description about VCS. And yes, you can have more than one project in a repository.

Share:
41,913

Related videos on Youtube

matanc1
Author by

matanc1

Updated on February 08, 2020

Comments

  • matanc1
    matanc1 over 4 years

    This might sound like a stupid question. It's especially stupid since I've used SVN before and I've recently used git.

    But I just noticed that I don't exactly know what a repository is.

    The way I see it is that a repository is a kind of container to hold the project code. I'm quite certain that's the wrong way to define it.

    So how would you define a repository? Wikipedia says: storage location from which software packages may be retrieved and installed on a computer.

    Does that mean you can have more than one project on a repository? If so, when would you create a new one?

  • matanc1
    matanc1 about 10 years
    Why would I want more than one project per repository? Isn't it the point to have each project in a different one?
  • twalberg
    twalberg about 10 years
    With git, it's uncommon, although possible, to have more than one project per repository - one of the design goals of git was to make handling many small single-project repositories a lot easier. In previous days, using something like cvs or svn, it was a lot more common to have a large-ish centralized repository that contained multiple projects - the centralized structure tended to make that more economical.
  • user376507
    user376507 about 10 years
    @Shookie it is mostly use case based. You can choose to have a different repository for different projects or one single repository for different projects. I have seen both methods being followed.