[Pkg-clamav-devel] How to delete errornously pushed local branch?

Stephen Gran sgran at debian.org
Fri Oct 10 21:25:31 UTC 2008


This one time, at band camp, Michael Tautschnig said:
> Hi all,
> 
> Sorry for this one: I just happend to commit my local branches etch-security and
> lenny-proposed-update. How could one undo this step?

Did you push them?  I don't see them in gitweb, but I haven't pulled to
be totally sure.  If you have just committed locally, it's just a matter
of resetting your local head in that branch, with a combination of git
log to find the right commit id, and git reset --hard $id to reset your
local head.

If you have pushed and I've just missed it, they'll need to be deleted
locally and on alioth.

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20081010/2dfc06f9/attachment.pgp 


More information about the Pkg-clamav-devel mailing list