We are looking for a way to disable a GitHub webhook from the command line when pushing a rebase to prevent duplicate entries in Pivotal Tracker.
Has anyone implemented this before? It doesn't look like git push --no-verify will work as I believe the webhooks in GitHub are post-receive.
Assuming you're correct about your problem being the post-receive hook I don't think you'll be able to flag it off based on the git man page:
Here's one way you might be able to do this. In cases where you want to skip the post-receive hook, use a custom method you've defined in bash that: