git format-patch return empty reponse on feature branch

Viewed 132

We have branch structure - master - develop - feature. We created feature from develop and made few changes in the branch. We don't want to merge all changes from branch . Therefore , trying to create the patch.

When i run git format-patch feature/branch-name , it returns empty response. But, when i run git format-patch origin , it returns the list of files missing between develop and master.

I am not sure why git format-patch will return empty response for branch?

0 Answers
Related