Skip to content

Instantly share code, notes, and snippets.

@em230418
Last active October 24, 2019 11:43
Show Gist options
  • Save em230418/b89065bcb77795f4e79ab3444d5636cd to your computer and use it in GitHub Desktop.
Save em230418/b89065bcb77795f4e79ab3444d5636cd to your computer and use it in GitHub Desktop.
# пишет, какие файлы поменялись по сравнению с веткой 11.0
git diff --name-only 11.0 | grep -v ".po" | grep "/" | sed 's/\/.*//' | sort -u
# можно еще так, чтобы сразу test_*.py
git diff --name-only 11.0 | grep -v ".po" | grep "/" | sed 's/\/.*//' | sort -u | sed 's/.*/"\0",/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment