2 ms·
It should be relatively easy to set up with git hooks: Take one of the many Git Hooked Autoformaters: For example: https://github.com/michalrus/git-hooks-code-
by xaedes 9y ago
It should be relatively easy to set up with git hooks:
Take one of the many Git Hooked Autoformaters:
For example: https://github.com/michalrus/git-hooks-code-autoformat https://github.com/michalrus/git-hooks-code-autoformat
Then add similar hooks for pulling on "post-merge" and "post-rewrite". There is no hook for "pull" per se, but either a merge or commit rewrite (rebase) happens after pull that changes code. So you should be good with those both hooks