[kwlug-disc] How GIT stores stuff.
Bob B
bob at softscape.ca
Fri May 6 12:52:02 EDT 2022
Znoteer,
Thanks for that book link.
I've put it onto my kobo and will check it out. Perhaps some good bedtime reading. Depending on dryness, it might help my insomnia 😊
BB
> -----Original Message-----
> From: kwlug-disc <kwlug-disc-bounces at kwlug.org> On Behalf Of Znoteer
> via kwlug-disc
> Sent: May 3, 2022 6:09 PM
> To: kwlug-disc at kwlug.org
> Cc: Znoteer <znoteer at mailbox.org>
> Subject: Re: [kwlug-disc] How GIT stores stuff.
>
> On Tue, May 03, 2022 at 03:53:26PM -0400, Bob B wrote:
>
> [snip]
> >
> > So many questions! Do you have a good learning resource for git or
> is it just a matter of using it more and learning nuances like this as
> you come across them?
>
> I am not a power user of git. I only rarely have to use it, and only
> for very simple things, in order to colaborate on certain doc
> projects. I have to start nearly at zero every time to figure out how
> to use git because of how infrequently I need to use it. :)
>
> That said, I've found this resource, known to many simply as "the git
> book", useful on numerous occasions:
>
> https://git-scm.com/book/en/v2
>
> I don't know if it has the kind plumbing details Chris Frey was
> describing, though. I've only used it for figuring how do to stuff.
>
> Znoteer the Montreal lurker.
>
> >
> > BB
> >
> >
> > > -----Original Message-----
> > > From: kwlug-disc <kwlug-disc-bounces at kwlug.org> On Behalf Of Chris
> > > Frey
> > > Sent: May 3, 2022 2:24 PM
> > > To: KWLUG discussion <kwlug-disc at kwlug.org>
> > > Subject: Re: [kwlug-disc] How GIT stores stuff.
> > >
> > > On Tue, May 03, 2022 at 10:36:23AM -0400, Bob B wrote:
> > > > It has some references to deeper information that look enticing,
> but
> > > in
> > > > summary I think it confirms what I said in that GIT stores
> complete
> > > files,
> > > > not deltas. At least not deltas as 'diffs' of text files.
> > >
> > > This is correct. At least until you run 'git gc' which then turns
> > > those individual files into packs, which do store things in diff-
> like
> > > ways.
> > >
> > > When you do a fresh clone from a remote repository, you will
> download
> > > the pack,
> > > which you can see if you look inside the .git directory. If you
> start
> > > your own git repo, you will see many individual files in the
> objects
> > > subdirectory until you run git-gc and git decides it is time to
> > > pack things up for optimization purposes.
> > >
> > > - Chris
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
More information about the kwlug-disc
mailing list