Using git, how can I see what files are in one branch but not another?
Imagine I have:
- BranchA
- foobar.txt
- foobaz.txt
- BranchB
- foobar.txt
- foofoo.txt
Is there a way to get a list of something like:
- Unique to BranchA
- foobaz.txt
Or otherwise something similar (the same command could be run backwards to list unique to BranchB files)?
Note I do not care about differences in the files but just the presence of the files.