Showing posts with label Git. Show all posts
Showing posts with label Git. Show all posts

Working in Git branches

In this post you will learn how to work in Git branches like: create, delete, merge branch data.
1. List all branches of your repository.
$ git branch

2. Create new branch.
$ git branch {branchName}

Example:
$git branch qa

3. Delete the specified branch. This is a “safe” operation in that Git prevents you from deleting the branch if it has unmerged changes.
$ git branch -d {branchName}

Example:
$git branch -d qa

Git repository commands

In this post you will learn Git commands with example.
1. git clone: This command clone existing repository 

Road to setup and configure Git repository.

In this post I will show you how to setup Git repository on windows machine.
Installation:
1 Download git exec file from link: click
2 Click on downloaded git exe file for installation.