š“š²š©šžš¬ šØšŸ š•šžš«š¬š¢šØš§ š‚šØš§š­š«šØš„ š’š²š¬š­šžš¦š¬:

meghasharmaaaa

Megha Sharma

Posted on October 6, 2024

š“š²š©šžš¬ šØšŸ š•šžš«š¬š¢šØš§ š‚šØš§š­š«šØš„ š’š²š¬š­šžš¦š¬:

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.

šŸ’– šŸ’Ŗ šŸ™… šŸš©
meghasharmaaaa
Megha Sharma

Posted on October 6, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related