What is version control ?
Version control is a system that records/manages changes to documents, computer programs etc over time. It helps us tracking changes when multiple people work on the same project.
Without version control-
- Versioning was Manual
- Team collaboration was a time consuming and hectic task.
- No easy access to previous versions.
- Multiple version took a lot of space.
Advantages of Version control:
1. Versioning is Automatic
2. Team Collaboration is simple
3. Easy access to previous versions
4. Only modified code is stored across different versions, hence saves storage.
Types of Version Control Cystems:
1. Central VCS
2. Distributed VCS
Centralized Version Control System:
- Centralized Version Control System has one single copy of code in the central server.
- Developers will have to "Commit" their changes in the code to this central server.
- "Commiting" a change simply means recording the change in the central system.
Distributed Version Control System:
- In Distributed VCS, one does not necessary rely on a central server to store all the versions of a projects file.
- Every developer "Clones" a copy of the main repository on their local system.
- This also copies, all the past versions of the code on the local system too.
- Therefore the developer need not be connected to the internet to work on the code.
Ex- Git
No comments:
Post a Comment
Note: only a member of this blog may post a comment.