From: "Ping Yin" <pkufranky@gmail.com>
To: "Jean-Luc Herren" <jlh@gmx.ch>
Cc: "Git Mailing List" <git@vger.kernel.org>
Subject: Re: Why very small repository has 2.7M size
Date: Sat, 19 Jan 2008 21:59:58 +0800 [thread overview]
Message-ID: <46dff0320801190559qbd9c846v56ece0111554d94b@mail.gmail.com> (raw)
In-Reply-To: <4791D7AD.1060106@gmx.ch>
On Jan 19, 2008 6:57 PM, Jean-Luc Herren <jlh@gmx.ch> wrote:
> Ping Yin wrote:
> > -rw-r--r-- 1 yinping yinping 26 2008-01-19 17:33 .gitignore
> > -rwxr-xr-x 1 yinping yinping 131 2008-01-19 17:44 Makefile.common
> > [...]
> > Counting objects: 87, done.
> > [...]
> > 4046b84344038d63b655b56f6e619888dd424e4e Add Makefile.common using commonmake
> > 8bbd7d4649ac1df1b29414b2ec469f532a77f222 Init empty repository, ignore
> > *.o, *.d, *~, *.swp, CVS, .svn
>
> You sure have a lot of objects for only having two commits and two
> files. Maybe some of the objects are loose ones? Try running
> 'git gc --prune' to see if that removes them. But be aware that
> this deletes them all, you might want to check first if the loose
> objects are something you wanted to keep (with 'git fsck' and 'git
> show').
>
Oh, sorry, my fault.
$ git branch -r
origin/HEAD
origin/backup
origin/backup1
origin/backup2
origin/master
> jlh
>
--
Ping Yin
prev parent reply other threads:[~2008-01-19 14:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-19 9:43 Why very small repository has 2.7M size Ping Yin
2008-01-19 9:48 ` Ping Yin
2008-01-19 10:57 ` Jean-Luc Herren
2008-01-19 13:59 ` Ping Yin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46dff0320801190559qbd9c846v56ece0111554d94b@mail.gmail.com \
--to=pkufranky@gmail.com \
--cc=git@vger.kernel.org \
--cc=jlh@gmx.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).