Skip to content

Instantly share code, notes, and snippets.

@darktef
Created August 8, 2018 17:08
Show Gist options
  • Save darktef/d985a0452d774aa6702f3bae43e5ccab to your computer and use it in GitHub Desktop.
Save darktef/d985a0452d774aa6702f3bae43e5ccab to your computer and use it in GitHub Desktop.
Bash - Open multiple files from previous git log history
mvim -p $(git log --pretty="" --name-only -1 | tr -s '\n' ' ')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment