In my workflow, I often run the following pair of commands:
$ git status
M README.txt
M some/long/file/name
$ git diff some/long/file/name
Is there any way, for fast typing/use_shortcat for long file name without copying it name (this action require using mouse and it's no so fast like typing)?
Maybe something like git diff $2
, where $2
is second changed file from the status list...?