Working with branch in GIT

A strong point in GIT is so flexible when working with branch. So now I will share some GIT commands that usually use when working with branch.

e5191b66-3127-11e4-a844-22000a98b2af-medium

You never know how strong you are until being strong is the ONLY option you have

 

In software development process, when your production was go live, you should create new branch for each issue. And after finishing a issue you should merge code carefully.

List all branch of repository (both local and remote)

Checkout code from a remote branch

Update code from all remote branch

Merge code between two branch

Merge specify commit to branch:

Create branch from previous comit

Checkout specify file from other branch:

 

ShareShare on FacebookShare on LinkedInShare on Google+Tweet about this on TwitterEmail this to someoneShare on Tumblr