DEV Community 👩‍💻👨‍💻

Kelly Stannard
Kelly Stannard

Posted on

Open all files touched in a branch

Your computer just crashed and you have to re-open all your files. What do you do?

Use git to list all changed files from master and send that to vim.

vim $(git diff --name-only master)

fin

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.