Skip to content

Instantly share code, notes, and snippets.

@brandonratz
Created January 30, 2019 20:50
Show Gist options
  • Select an option

  • Save brandonratz/6722a2ebbbf819ea128510a20f58b590 to your computer and use it in GitHub Desktop.

Select an option

Save brandonratz/6722a2ebbbf819ea128510a20f58b590 to your computer and use it in GitHub Desktop.
see modified files w/ no subdirectory #git
git diff --name-only | grep "^`git rev-parse --show-prefix`[^/]*$"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment