How do I permanently remove the data and history of previous commits of a file, using TortoiseGit?

942 views
Skip to first unread message

BoNoZo Games

unread,
Nov 22, 2011, 12:41:37 PM11/22/11
to tortoisegit-users
Researching the web lead me to only confusion in regards to the
following Git n00b question:

I commit an art asset (ex. jpg), then update the file, then commit the
update.
The first commit was a placeholder image; I no longer want it taking
space in the repository.
How do I permanently remove the data and history of the first commit
of this art asset, using TortoiseGit?

Thank you *very* much.

Robert Pollak

unread,
Nov 22, 2011, 3:05:51 PM11/22/11
to BoNoZo Games, tortoise...@googlegroups.com
Am 2011-11-22 18:41, schrieb BoNoZo Games:
> How do I permanently remove the data and history of the first commit
> of this art asset, using TortoiseGit?

That's what "Git rebase -i" is for. However, I don't know about the
state of its TortoiseGit Dialog. See e.g.
http://code.google.com/p/tortoisegit/issues/detail?id=249, "The
interactive rebase tool can't select just a few commits".

Robert

Reply all
Reply to author
Forward
0 new messages