Salesforce

Introduction to Git (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Introduction to Git

This section introduces you to Git version control system.

Git Repository

Unlike other MS SCC providers, Git is not a centralized version control system. It is a distributed version control system. The difference between these two is that in distributed version control systems every developer has his own local copy of the full version history, whereas in centralized version control systems the version history is stored in a server-side repository. Every project under Git version control has one local repository and one remote repository.

Git gives you the flexibility and performance for the price of greatly increased complexity of workflow. You should use Git if

· there are multiple independent groups of developers that can contribute to the project,

AND/OR

· when it is difficult to provide all developers with fast access to a central server.

The advantages of working with Git are:

  • its great performance

  • the full local source control that works even when disconnected from the server

  • its ability to move work quickly between servers without losing history

The Check-in and Check-out operations are performed locally. So to synchronize work with other users, you can perform operations like PULL and PUSH from the Local repository to remote repository and vice-a-versa.

Related Topics

Reference
Attachment 
Attachment