Posts

Showing posts with the label Rebasing

Git - Branching, Merging, Rebasing and Cherry-picking

Image
Hi, I am Malathi Boggavarapu and welcome to my blog. This tutorial describes about Branching, Merging and Rebasing with Git and also about Git stashing, Cherry-picking. I have a seperate post " Git Fundamentals " in my blog which explains everything about Git but i had broken them down to smaller sections to make it easy for everyone to follow. This post will only introduce you to Git. So let's get started. Branching, Merging and Rebasing with Git First we look at how to visualize the branches. We have already discussed about the command  git log --graph --oneline  which gives us the list of commits on the current branch using a graph on left hand side. Now we are going to add some more options to add the visualizers for our branches. git log --graph --online --all --decorate  -> all allows us to visualize all the branches rather than the current branch and decorate applies any labels to the commits such as HEAD, tags, remote branches and t...