๐๐ฒ๐ฉ๐๐ฌ ๐จ๐ ๐๐๐ซ๐ฌ๐ข๐จ๐ง ๐๐จ๐ง๐ญ๐ซ๐จ๐ฅ ๐๐ฒ๐ฌ๐ญ๐๐ฆ๐ฌ:
1. ๐๐จ๐๐๐ฅ ๐๐๐ซ๐ฌ๐ข๐จ๐ง ๐๐จ๐ง๐ญ๐ซ๐จ๐ฅ ๐๐ฒ๐ฌ๐ญ๐๐ฆ๐ฌ
A local version control system is a local database located on your local computer, in which every file change is stored as a patch. Every patch set contains only the changes made to the file since its last version. In order to see what the file looked like at any given moment, it is necessary to add up all the relevant patches to the file in order until that given moment.
The main problem with this is that everything is stored locally. If anything were to happen to the local database, all the patches would be lost. If anything were to happen to a single version, all the changes made after that version would be lost.
2. ๐๐๐ง๐ญ๐ซ๐๐ฅ๐ข๐ณ๐๐ ๐๐๐ซ๐ฌ๐ข๐จ๐ง ๐๐จ๐ง๐ญ๐ซ๐จ๐ฅ ๐๐ฒ๐ฌ๐ญ๐๐ฆ (๐๐๐๐)
A Centralized Version Control System (CVCS) is a type of version control system where there is a single, centralized repository that stores the entire version history of a project. In a CVCS, each user checks out a working copy of the files from this central repository to make modifications. After making changes, the user then commits those changes back to the central repository.
๐๐ฑ๐๐ฆ๐ฉ๐ฅ๐๐ฌ ๐จ๐ ๐๐๐๐:
โข ๐๐ฎ๐๐ฏ๐๐ซ๐ฌ๐ข๐จ๐ง (๐๐๐): Subversion is a widely used CVCS that tracks changes to files and directories over time.
3. ๐๐ข๐ฌ๐ญ๐ซ๐ข๐๐ฎ๐ญ๐๐ ๐๐๐ซ๐ฌ๐ข๐จ๐ง ๐๐จ๐ง๐ญ๐ซ๐จ๐ฅ ๐๐ฒ๐ฌ๐ญ๐๐ฆ (๐๐๐๐)
A Distributed Version Control System (DVCS) is a type of version control system where every developer working on a project has a complete copy of the repository, including its entire version history, on their local machine. Unlike Centralized Version Control Systems (CVCS), where there is a single central repository, DVCS allows developers to work independently on their local copies and synchronize changes with other repositories.
๐๐ฑ๐๐ฆ๐ฉ๐ฅ๐๐ฌ ๐จ๐ ๐๐๐๐:
โข ๐๐ข๐ญ: Git is the most widely used distributed version control system. It was created by Linus Torvalds and has become the de facto standard for version control in many open-source and private projects.
โข ๐๐๐ซ๐๐ฎ๐ซ๐ข๐๐ฅ: Another DVCS, Mercurial is known for its simplicity and ease of use.