I have a master and a dev branch. When I compare the two branches using git diff master...dev
, there are no differences between them. However, when I use git diff master..dev
, there are some files present in dev which are not present in master.
I'd like to merge dev into master so that those files shown by git diff master..dev
(i.e files present in dev but not in master) are present in master.
When I try to create a pull request, I get "There is nothing to compare" error on github as it is using "..." for comparison. How can I merge these two based on ".." comparison?
PS: I looked at this to understand the difference between ".." and "..." but not sure how to merge with ".."