To add changes to the staging area. Syntax: git add file_name Note: use ‘.’ to add all changes Example: git...
Continue reading...Git
Git Delete Branch
To delete a branch. Syntax: git branch -d branch_name Example: git branch -d TestBranch
Continue reading...Git Create & Switch Branch
To create and switch to a new branch. Syntax: git checkout -b branch_name Example: git checkout -b TestBranch
Continue reading...Git Switch Branch
To switch to a branch. Syntax: git checkout branch_name Example: git checkout TestBranch
Continue reading...Git Create Branch
To create a new branch. Syntax: git branch branch_name Example: git branch TestBranch
Continue reading...Git Clone
To clone an existing repository. Syntax: git clone repository_url Example: git clone https://github.com/gaurav077021/Practice-Programs.git
Continue reading...Git Stages
Working directory / Workspace: here we write the code. Staging area: Adding your code in the staging area. storing your...
Continue reading...Git Introduction
Software configuration Management/ Source code Management Two types of version control system as 1. Centralized version control system(CVCS): we can...
Continue reading...