[Sugar-devel] karma repo is huge!
Bernie Innocenti
bernie at codewiz.org
Tue Jan 5 04:17:36 EST 2010
On Tue, 2010-01-05 at 08:11 +0545, Bryan Berry wrote:
>
> Is there a way to remove select files from the index that are no
> longer in the working tree?
I never used it, but try git-filter-branch should do the job:
git filter-branch --tree-filter ´rm filename´ HEAD
It's very powerful, read the man page for more info.
NOTE WELL: removing one file in the middle of the history is guaranteed
to alter the sha1's of all the subsequent commits. This happens because
of git's fundamental design, and can be seen as a security feature to
prevent people from tampering with the history.
--
// Bernie Innocenti - http://codewiz.org/
\X/ Sugar Labs - http://sugarlabs.org/
More information about the Sugar-devel
mailing list