On Sat, Feb 06, 2016 at 05:57:47PM +0100, Petr Viktorin <encu...@gmail.com> 
wrote:
> On 02/06/2016 05:48 PM, Oleg Broytman wrote:
> > $ git remote add gh g...@github.com:phdru/cpython.git
> > 
> > $ git push --all gh
> > 
> >    See the result at https://github.com/phdru/cpython
> 
> You might also want to try something like
> 
>    $ git repack -a -d -f --depth=250 --window=250
> 
> after importing to decrease the size of the repository for everyone
> pulling from you.
> 
> (Reference: https://gcc.gnu.org/ml/gcc/2007-12/msg00165.html)

   See the discussion of this old and outdated message at PEP 103:
https://www.python.org/dev/peps/pep-0103/#database-maintenance

   The recommended parameters for git repack are --depth=20 --window=250
See http://vcscompare.blogspot.ru/2008/06/git-repack-parameters.html

   But yes, you're right, git gc/repack is very much recommended.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            p...@phdru.name
           Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
core-workflow mailing list
core-workflow@python.org
https://mail.python.org/mailman/listinfo/core-workflow
This list is governed by the PSF Code of Conduct: 
https://www.python.org/psf/codeofconduct

Reply via email to