DEV Community

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

Posted on

2

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

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.

Image description

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.

Image description

๐„๐ฑ๐š๐ฆ๐ฉ๐ฅ๐ž๐ฌ ๐จ๐Ÿ ๐‚๐•๐‚๐’:

๐’๐ฎ๐›๐ฏ๐ž๐ซ๐ฌ๐ข๐จ๐ง (๐’๐•๐): 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.

Image description

๐„๐ฑ๐š๐ฆ๐ฉ๐ฅ๐ž๐ฌ ๐จ๐Ÿ ๐ƒ๐•๐‚๐’:

โ€ข ๐†๐ข๐ญ: 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.

Billboard image

Deploy and scale your apps on AWS and GCP with a world class developer experience

Coherence makes it easy to set up and maintain cloud infrastructure. Harness the extensibility, compliance and cost efficiency of the cloud.

Learn more

Top comments (0)

Billboard image

Try REST API Generation for Snowflake

DevOps for Private APIs. Automate the building, securing, and documenting of internal/private REST APIs with built-in enterprise security on bare-metal, VMs, or containers.

  • Auto-generated live APIs mapped from Snowflake database schema
  • Interactive Swagger API documentation
  • Scripting engine to customize your API
  • Built-in role-based access control

Learn more

๐Ÿ‘‹ Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay