Skip to content

Instantly share code, notes, and snippets.

View demalex's full-sized avatar
🎯
Focusing

Alex Demishkevych demalex

🎯
Focusing
  • Berlin
View GitHub Profile
@demalex
demalex / git-clang-format.sh
Last active December 3, 2018 10:39
Script finds diff between two latest commits and passes it to clang-format using brew bundle
git diff HEAD^ --name-only --diff-filter=d | grep -i -e "\.h" -e "\.m" | xargs brew bundle exec clang-format -i --verbose