title: How to get rid of Merge commits in git
body: <p>I have a repository which is shared by more than 1 person So often I see there are a lot of merge commits in commit history. I want to get rid of them to make my commit history to look cleaner.</p>
  
  <p>What is the practice we should follow to avoid these merge commits? Is it doable ?</p>
  
  <p>I read about merging using <code>--ff-only</code> switch. Can this switch help me ?</p>