Girlscript Education Outreach program- Day1:
It was basically and introduction day where we learnt about version control system. Our mentor Sukriti Shah explained very well all the topics and it was too detailed.
Here’s what I learnt:
Version control is management of changes to documents, computer programs,large website or any information/data. These changes are usually termed as versions.
Changes can be of any type like modifying a website or adding new files .
Different types of version Control system:
There are two types of version control systems:
- Centralised version control system. Eg:Apache Subversion, Concurrent Version system.
- Distributed version control system. Eg:Git, mercurial,Bazaar
What is difference between centralised and distributed version control system?
•In centralised version control system there is only one centralised server where all collaborators push the codes or files after making changes to their code .
•In distributed version Control system there is local repository where collaborators first push codes after making changes to file and after that pushes to main server.
Advantage of Distributed version control system over centralised version control system:
•If central server fails all the data will be lost or if server goes down for an hour data become inaccessible for all for that time.
In distributed version control system user have one remote repository too which will be there with them and if server fails they have one copy of their code along with them.
About open source collaboration:
There are projects of companies available on GitHub. There are two types of projects:
- You can contribute to project from beginning as project is on starting phase
- Project is already built and you can modify it by sending pull request.
The whole series of 2week will cover all the topics for open source collaboration with git and GitHub.