Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a VCS repository?

Tags:

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?

like image 209
matanc1 Avatar asked Feb 18 '14 16:02

matanc1


People also ask

What is repository in VCS?

A repository is a VCS term which describes when VCS is tracking a filesystem. In the scope of individual source code files, a VCS will track additions, deletions, modifications of the lines of text within that file. Popular software industry VCS options include Git, Mercurial, SVN and preforce.

What does VCS stand for GitHub?

Git is a Version Control System or VCS. VCS is basically software designed to record changes within one or more files over time.

Is GitHub a VCS?

To sum up the difference between git vs GitHub: git is a local VCS software that enables developers to save snapshots of their projects over time. It's generally best for individual use. GitHub is a web-based platform that incorporates git's version control features so they can be used collaboratively.


1 Answers

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.

like image 194
Matthew Hartman Avatar answered Oct 15 '22 19:10

Matthew Hartman