First we ran on the local repo
git tag -d rc-99
Then we ran the following command to get the change in origin
$ git push origin :refs/tags/rc-99 --force
Then we got the following error message:
remote: [2014-07-02 16:42:04] EXCEPTION: (CommandException) Command failed with error #128! remote: COMMAND remote: git log --format='%H' '0000000000000000000000000000000000000000' --not - -all remote: remote: STDOUT remote: (empty) remote: remote: STDERR remote: fatal: bad object 0000000000000000000000000000000000000000 remote: at [<phutil>/src/future/exec/ExecFuture.php:398] remote: #0 ExecFuture::resolvex() called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:550] remote: #1 DiffusionCommitHookEngine::findGitContentUpdates(array) called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:245] remote: #2 DiffusionCommitHookEngine::findContentUpdates(array) called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:141] remote: #3 DiffusionCommitHookEngine::execute() called at [<phabricator>/scripts/repository/commit_hook.php:104] To ssh://git@code.pageuppeople.com/diffusion/P/pageup.git ! [remote rejected] rc-99 (pre-receive hook declined) error: failed to push some refs to 'ssh://git@code.pageuppeople.com/diffusion/P/pageup.git'