Cloud, Cloud Basics, Cloud Essentials, Cloud Tools, Cloud Tutorial, Git, Git and JDeveloper, Git Plugin for JDeveloper, Git Tutorial, Git with JDeveloper, Oracle Cloud, Oracle Developer Coud, Oracle JCS
Hey, I have found some spare time to post learning which i had and I am back with Cloud Essentials.
Git is the first one of the series. Don’t hesitate posting your questions, clarifications. I will be happy to answer.
What is Git and how it is different?
Git is another Revision Management System which is intelligently crafted to meet users need and overcome the challenges users had with older ones.
Revision Management Systems can be categorized in two parts,
- Centralized version control system (CVCS).
- Distributed/Decentralized version control system (DVCS).
Centralized version control system (CVCS) uses a central server to store all files and enables team collaboration. But the major drawback of CVCS is its single point of failure, i.e., failure of the central server. Unfortunately, if the central server goes down for an hour, then during that hour, no one can collaborate at all. And even in a worst case, if the disk of the central server gets corrupted and proper backup has not been taken, then you will lose the entire history of the project. Here, distributed version control system (DVCS) comes into picture.
DVCS clients not only check out the latest snapshot of the directory but they also fully mirror the repository. If the sever goes down, then the repository from any client can be copied back to the server to restore it. Every checkout is a full backup of the repository. Git does not rely on the central server and that is why you can perform many operations when you are offline. You can commit changes, create branches, view logs, and perform other operations when you are offline. You require network connection only to publish your changes and take the latest changes.
Git is DVCS.
Let us see the basic workflow of Git.
Step 1 : You modify a file from the working directory.
Step 2 : You add these files to the staging area.
Step 3 : You perform commit operation that moves the files from the staging area. After push operation, it stores the changes permanently to the Git repository.
Try below URL to practice Git Commands…A best way to learn…(No Registration needed)
Source: Collated from oracle.com, tutorialspoint.com, javaworld.com, coursera.org, https://try.github.io/