Git Quick Card



Git – Introduction

There are many popular DVCS systems like Git, Mercurial, Bazaar which has grown maturely to implement distributed revision across their products. Git is widely used by the development teams across the world due to its simplicity, active open source the development team  and frequent releases/patches. Before moving forward with the git concepts, few of them terminologies which will be frequently used in this tutorial are defined below :
Remote Repository : This refers to the specific project space on the central server where the project source code is stored and will be used by the team members for checkout or commit.
Local Repository (.git directory): There is a local folder “.git” which is automatically created when the project or folder is git tracked. The “.git” folder is like a local database which will contain all information related to branches, commit history, user configurations, and metadata.
Branches / Tags – Has the same definition as that of SVN /VSS.
Checkout – Since git has a local copy of all branches, a checkout of a branch would always be a local operation and not a remote server call as in SVN. 
Clone – When a git clone command is invoked, the entire remote repository is fetched which includes the branches, tags, commit history and file changes.
Staging Area - is a file located in the project git directory, that stores information about what will go into your next commit.



Comments

Popular posts from this blog

Right way to close HttpsURLConnetion using try with resources in java 8

Spring Boot Batch - Parallel Processing (Running Multiple Jobs Concurrently)