Posted on Leave a comment

Duplicating (mirroring) a repository

To make an exact duplicate, you need to perform both a bare-clone and a mirror-push.

[code language=”java”]
git clone –bare <reponame>
# Make a bare clone of the repository

cd <reponame>
git push –mirror <newreponame>
# Mirror-push to the new repository
[/code]

Posted on Leave a comment

GZip, GZipStream

GZIP file format specification version 4.3

Can GZip compression (via .net) increase file size?

Yes. It can. It has been fixed in .net 4.

The compression algorithms for the System.IO.Compression..::.DeflateStream and System.IO.Compression..::.GZipStream classes have improved so that data that is already compressed is no longer inflated. This results in much better compression ratios. Also, the 4-gigabyte size restriction for compressing streams has been removed.

Continue reading GZip, GZipStream