git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to squash a few commits in the past
@ 2010-05-03  9:33 Gelonida
  2010-05-03 10:09 ` Michael J Gruber
  2010-05-06  6:45 ` Johannes Sixt
  0 siblings, 2 replies; 8+ messages in thread
From: Gelonida @ 2010-05-03  9:33 UTC (permalink / raw)
  To: git

Hi,



I posted already a similiar question about how to squash the all the commit
hostory older than a certain commit into one commit.


This question is slightly different.


I'm having a git repository.

Suddenly I noticed, that git pull became rather slow.

The reason:
One of the team members accidentally commited a very huge file together with
some useful sources.
a few commits later he noticed his error and removed the huge file.



The plan would be:
- create a new git repository without the huge file
- let everybody clone the new repository and continue working.


I thought, that I could squash the commit adding the file, removing the file and
the commits in between into one commit.

How could I do this?


Thanks a lot for your help.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-05-06  6:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-03  9:33 how to squash a few commits in the past Gelonida
2010-05-03 10:09 ` Michael J Gruber
2010-05-03 20:45   ` Gelonida
2010-05-03 20:55     ` Gelonida
2010-05-03 21:20     ` Gelonida
2010-05-05 13:19       ` Ramkumar Ramachandra
2010-05-05 21:41         ` Gelonida
2010-05-06  6:45 ` Johannes Sixt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).