Git Quickie: Branch Comparison
Get simple list of changed files

Software Engineer with passion in frontend who specializes in Angular but doesn't hesitate to check on other sides - configuring CI/CD, clouds, backend and API, mobile development using Flutter, and so on.
If you want to check what has been changed, you usually use git diff one-branch another , right?
But the problem is that it produces a lot of output that in some cases is not needed.
So there is a nice shortcut in case you want to compare two branches quickly without caring about commits. The --name-only param will list the file names that are different:
git diff --name-only dev main
How often do you check diff? What are the most common use cases for it? I did this only once or twice in console but it was fun :)

