Posts

Showing posts with the label git status

Git in short - A Practical Guide

Image
Git is one of the popular software version control systems. It helps to track modifications of files in a project and provides mechanisms to interact with the changes. This article explains some set of practical GIT work flows in brief. Section 1: Creation and management of a local GIT repository. STEP 0 : Set path to project directory where version controller to be initialized. git init Syntax :   git init git init command initializes the current directory as a git repository. A hidden .git will be created in the current folder, to store all tracking related information. See the command line response on listing the files in the repository. Added a README.md file to the repository. git status Syntax :      git status git status command show the current status of the repository. The cmd line response indicates, the file README.md is not tracked by git. git add Syntax :   ...