๐“๐ฒ๐ฉ๐ž๐ฌ ๐จ๐Ÿ ๐•๐ž๐ซ๐ฌ๐ข๐จ๐ง ๐‚๐จ๐ง๐ญ๐ซ๐จ๐ฅ ๐’๐ฒ๐ฌ๐ญ๐ž๐ฆ๐ฌ:

ยท

2 min read

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.

Did you find this article valuable?

Support Megha Sharma's Blog by becoming a sponsor. Any amount is appreciated!

ย