Jump to content

Repository (version control)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 2600:6c4a:37f:ff18:a8cd:1551:a2a0:2bf9 (talk) at 11:44, 10 September 2022 (Delete all wiki github). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Overview

A repository being shown in Gitlab, an open source code forge.

In software engineering, a version control system is used to keep track of versions of a set of files, usually to allow multiple developers to collaborate on a project. The repository keeps track of the files in the project, which is represented as a graph.

A Distributed version control system is made up of central and branch repositories. A central repository exists on the server. To make changes to it, a developer first works on a branch repository, and proceeds to commit the change to the former.

Forges

A code forge is a web interface to a version control system. A user can commonly browse repositories and their constituent files on the page itself.

Static web hosting

While forges are mainly used to perform version control operations, some forges allow users to host static web pages by uploading its source code (such as HTML and JavaScript, but not PHP) to a repository. This is usually done in order to provide documentation or a landing page for a software project.

The use of repositories as a place to upload web documents allows version control to be integrated, and additionally allows quick iteration because changes are pushed through the Version Control System instead of having to upload the file through a protocol like FTP.[1]

Examples of this kind of service include GitHub Pages and GitLab Pages.

See also

References

  1. ^ "GitHub Pages | Websites for you and your projects, hosted directly from your GitHub repository". GitHub.