On 09/16/2010 09:04 PM, Andrew McNabb wrote:
> Thank you to everyone who participated in the Git challenge, and
> congratulations to those who won books and/or penguin seat covers.  As
> far as I could tell, everyone made progress and had a good time.
> 
> I've posted the Git Challenge checklist at:
> 
> http://aml.cs.byu.edu/~amcnabb/git-challenge.pdf
> 
> This checklist isn't a self-contained tutorial--it is instead intended
> to promote exploration and discussion.  So, please email the list if you
> see any errors or if you have any questions.

I'd just like to thank Andrew for the time he put into his presentation
and challenge. He did an excellent job and I think everyone learned
something and had fun while doing it. I've already taken the opportunity
to apply some crazy filter-branch stuff to my own personal repositories
(something I've wanted to do for a while).

For those who (like me) had once added a large file to their personal
repo and wanted to get the size back under control, using the
filter-branch as described in Andrew's Advanced Section (the permanently
remove the t (tests) directory one), then running the following commands
should do the trick:

git gc
rm -rf .git/refs/original
git reflog expire --all --expire='0 days'
git fsck --full --unreachable
git repack -A -d
git prune

(with help from
http://stackoverflow.com/questions/2164581/remove-file-from-git-repository-history)

-- 
Jonathan Wilson
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to