Exclude UUIDs from Drupal config export
Failed attempts
git diff -G ‘^\s*([^\s*]|*\s*[^\sG]|*\sG[^e]|*\sGe[^n]|*\sGen[^e]|*\sGene[^r]|*\sGener[^a]|*\sGenera[^t]|*\sGenerat[^e]|*\sGenerate[^d]).*’
git diff -G ‘^\su*([^u*]|uu*[^id]|ui[^d]|uuid[^:]|uuid:[^\s]).*’
git diff -G ‘^^uuid:\s.*’
git diff -G ‘^[^{uuid}.*’
Success
git diff -G '^[^u][^u][^i][^d][^:].*'
Made a .bashrc alias:
# Diff that ignores config files whose only change is the UUID (ignores lines
# starting with 'uuid:' and probably other stuff but it's solid so far.)
alias gdu="git diff -G '^[^u]*([^u][^i][^d][^:]).*'"