Skip to content

Conversation

@ajgon
Copy link

@ajgon ajgon commented Feb 22, 2015

When using some extra pre-commit hooks (like overcommit for example) which handle the validation, the script will silently fail and revert the last good commit. The reason of this is, that git commit won't proceed (due to hook fail), but script continues deployment. To avoid it, I added -n flag which skips all pre-commit hooks, thus allows commit to pass.

When using some extra pre-commit hooks (like overcommit for example) which handle the validation, the script will silently fail and revert the last good commit. The reason of this is, that git commit won't proceed (due to hook fail), but script continues deployment. To avoid it, I added -n flag which skips all pre-commit hooks, thus allows commit to pass.
@kavare
Copy link

kavare commented Mar 16, 2016

Nice work! We definitely!

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