Repository (version control)

In revision control systems, a repository[1] is a data structure that stores metadata for a set of files or directory structure. Depending on whether the version control system in use is distributed like (Git or Mercurial) or centralized like (Subversion, CVS, or Perforce), the whole set of information in the repository may be duplicated on every user's system or may be maintained on a single server.[2] Some of the metadata that a repository contains includes, among other things:

  • A historical record of changes in the repository.
  • A set of commit objects.
  • A set of references to commit objects, called heads.
  1. ^ "SVNBook". Retrieved 2012-04-20.
  2. ^ "Version control concepts and best practices". 2018-03-03. Archived from the original on 2020-04-27. Retrieved 2020-07-10.

Powered by 654 easy search