It's probably because you still have it in your local and when you push the new one, it'll be pushed again.
Also, you have removed it from a tree, but it may be still in the reflog or some other file that's keeping a pointer to it, avoiding its deletion.
Two things you'll have to do:
1) when you remove it from the tree, cleanup the reflogs and run a gc.
2) rebase your new commit locally, make sure that the unneeded commit is not the base for the commit you're pushing. If it still shows in the local log it'll be pushed again.
Luciano.
Hi,
I've abandoned a commit/change on Gerrit server. And I've deleted the commit locally with git. With "git log" I can not see the deleted local commit any longer. However, when I try to upload a new commit, repo reports that the should-been-deleted commit comes before my new commit.
How can I tell repo that the commit is deleted?
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en