premaseem.wordpress.com
Git : Making the main branch identical to other branch
Problem : Some how your main branch got polluted (few bad commits) and you want to fix it ? Solution : You can create a single commit that will make the current branch identical in contents (and im…