Skip to content

Instantly share code, notes, and snippets.

@ironpython2001
Last active May 18, 2023 08:26
Show Gist options
  • Save ironpython2001/f27f3bcbfcbc404f76812e26c47506fa to your computer and use it in GitHub Desktop.
Save ironpython2001/f27f3bcbfcbc404f76812e26c47506fa to your computer and use it in GitHub Desktop.
git what was changed in a branch
git whatchanged --name-only --pretty="" *.xaml *.cs
or
git whatchanged --oneline --name-only
https://stackoverflow.com/questions/25289469/how-to-find-list-of-unique-files-that-have-changed
https://stackoverflow.com/questions/10641361/get-all-files-that-have-been-modified-in-git-branch
find list of unique files that changed
git whatchanged --oneline --name-only | grep --extended-regexp --invert-match '^[[:xdigit:]]{7,}'
in windows
git whatchanged --oneline --name-only | findstr --extended-regexp --invert-match '^[[:xdigit:]]{7,}'
reference
https://stackoverflow.com/questions/25289469/how-to-find-list-of-unique-files-that-have-changed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment