DEV Community

loading...

Open all files touched in a branch

Kelly Stannard
Developer. Design pattern enthusiast. Tilting at Agile practices.
・1 min read

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

Discussion (0)