عجفت الغور

git

Tags: computers

Finding out what changed and piping

  • git whatchanged --name-only --pretty="" origin..HEAD | rg ".ex" --fixed-strings | xargs <LINTER>
  • echo '' | fzf --print-query --preview 'echo "a\nb\nc\nd" | awk {q}'
  • echo '' | fzf --preview 'ls {q}'
  • git grep "refund_account" $(git log --since="1 month ago" --format=format:%H_