Erase a commit from a git repository
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Erase a commit from a git repository
- From: Tim Tassonis <stuff@xxxxxxxxxxxx>
- Date: Sat, 18 Jan 2025 21:50:31 +0100
- User-agent: Mozilla Thunderbird
Hi all
Sorry if this is the wrong list, I have a question regarding a faulty
commit that costs me quite a lot of diskspace.
I accidentally committed an pushed one gigabyte of firmware blobs into
one of my git repositories, and noticed that too late, e.g. it was
already on master and newer commits had occurred.
To my knowledge, there is no easy way to remove a commit out of an
existing repository.
But I assume that there is a way around this: As one can easily migrate
an svn repository to git with all history included, there surely is also
a way to "migrate" a git repository to another git repository in the
same way and then just leave that commit out.
As this sounds like quite a lot of manual work, I wondered if there is
an automated process for this?
Bye
Tim
[Index of Archives]
[Linux Kernel Development]
[Gcc Help]
[IETF Annouce]
[DCCP]
[Netdev]
[Networking]
[Security]
[V4L]
[Bugtraq]
[Yosemite]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux SCSI]
[Fedora Users]