Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds pre-push hook #229

Merged
merged 2 commits into from
Jun 23, 2018
Merged

Conversation

charbgr
Copy link
Contributor

@charbgr charbgr commented Jun 16, 2018

Added a pre push hook, in case someone wants to run ktlint only before pushing.
It compares files that changed from remote to local branch.

You can install it with:

$ ktlint --install-git-pre-push-hook

@charbgr charbgr force-pushed the charbgr/git_prepush_hook branch from 4ad958b to 62c49d4 Compare June 16, 2018 11:52
@charbgr charbgr force-pushed the charbgr/git_prepush_hook branch from 62c49d4 to 677c159 Compare June 16, 2018 12:00
@shyiko
Copy link
Collaborator

shyiko commented Jun 23, 2018

Thank you!

@shyiko shyiko merged commit e831165 into pinterest:master Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants