Posts

Showing posts from July, 2018

Git commands

Git Commands 1. How to open git in windows?      After successful installation of git and configuration of git environment open windows command prompt and execute below commands     git   if git is installed successfully then it will display list of commands that can used with git. 2. What is the git command to check the version of git.               git --version   git version 2.16.2.windows.1       This command will display the current version of git installed.In the above example it shows as            the version of git as 2.16.2. 3. what is the git command to configure global configuration like name and email id?             git config --global user.name "mahesh"       git config --global user.email "mahesh.k@abc.com"      The above commands configure git username a...

Git Introduction

            Git Introduction  1.  What is Git? Git can be defined as a standard software or tool to store data which can be simultaneously used by one or more users. Git is used to create repositories which contain data and all the modifications done to this data can be traced using Git.Generally Git is used by developers to store source code. Example: A developer develops a software application and stores it in a Git repository, later on another developer works on this same data and push  changes to this repository. Now both developers can easily check the modifications done to the data using git. Git traces the changes made to data in the form of commits . Procedure: Step1: user1 pushes data to the repository. Step2: user2 pulls the changes done by user1 to his local repository and then he makes changes to the data or code and pushes them to the repository. Step3: now user1 pulls the data and makes changes. Note...