How to open all deleted, modified, and created files since the last git commit, I tried using git status
first, but it was difficult to parse, so I found git status --porcelain
was easier to parse and with awk + vim + some bash magic it was easy to do.
So, I found the solution with vim
:
vim $(git status --porcelain | awk '{print $2}')
And I post this question + answer just to answer it myself and share it to the internet
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With