You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you receive the error message: qt.qpa.fonts: Populating font family aliases took N ms. Replace uses of missing font family "Courier" with one that exists to avoid this cost. run git difftool and in P4Merge > Preferences... > Text Format > Font replace "Courier" with "Consolas".
Prettier Git Aliases for portability
git config --global alias.pretty-changed '!f(){ files=$(git diff --name-only --diff-filter=ACMRT origin/main...HEAD | grep -E "\.(ts|tsx|js|jsx|json|prisma|ya?ml)$" || true); if [ -n "$files" ]; then echo "$files" | xargs yarn prettier --write; else echo "No prettier-eligible changed files."; fi; }; f'
git config --global alias.pretty-staged '!f(){ files=$(git diff --cached --name-only --diff-filter=ACMRT | grep -E "\.(ts|tsx|js|jsx|json|prisma|ya?ml)$" || true); if [ -n "$files" ]; then echo "$files" | xargs yarn prettier --write; else echo "No prettier-eligible staged files."; fi; }; f'
FYI: I don't like using P4Merge as the merge tool, just as the diff tool.