Generally, We will add the changes via PR(pull request) to the long-running branches like develop, release, and main branches. But sometimes (for me it happened most of the time) we commit the changes to the main / develop. While pushing to remote we will identify the problem.

I will follow the below steps to move the latest commits to the new feature branch.

Requirement: Commit C7 should be converted as PR to develop branch


More blogs which are related to day-to-day DevOps tasks on the way, please follow for getting notification.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store