Skip to content

Instantly share code, notes, and snippets.

@mthelander
Created January 24, 2012 17:19
Show Gist options
  • Save mthelander/1671256 to your computer and use it in GitHub Desktop.
Save mthelander/1671256 to your computer and use it in GitHub Desktop.
Open all files changed in previous commit
vim $(git show --name-only --oneline | sed -re "/^[0-9]+.*/d")
@ncooke3
Copy link

ncooke3 commented Jun 24, 2021

This is awesome!
xed $(git show --name-only --oneline | sed -re "/^[0-9]+.*/d") to open in Xcode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment