Force a push when testing git hooks

Fed up of creating dummy commits to test hooks, well try this DIRTY method.

$ git push origin :testing # delete the remote branch
$ git push origin testing # push again

You will prob have to run:

$ git config receive.denyDeleteCurrent false

on the remote repo to allow current branch deletions


You'll only receive email when they publish something new.

More from 10827
All posts