When I run git status
I see what files changed relative to my cwd. This is super useful because I can copy paste those paths if I want to do something to those files.
When I run git git diff somebranch --name-only
though it shows me the paths of the files relative to the top level dir of the repo. I was looking and didn't see a param - is there a switch to have git diff somebranch --name-only
return the file paths relative to my cwd?