Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2021 09:14:17 -0500
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: github ports
Message-ID:  <79bdc2dc938a0832051ad7d21faa3066.squirrel@webmail.harte-lyne.ca>
In-Reply-To: <mailman.98.1610366402.21235.freebsd-questions@freebsd.org>
References:  <mailman.98.1610366402.21235.freebsd-questions@freebsd.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


On Mon, January 11, 2021 03:57, Erwan David wrote:
>
> What is the solution for those who are not interessed/cannot handle the
> whole history with all branches ?
>

What is meant by the term handle in this case?  Insofar as disc space goes Git
uses a hashing algorithm to identify file changes and only actually stores
those.  It references everything else so that a particular version of a file
(based on content) is only stored once.  It is a very economical system with
respect to storage. One can liken it to rsync in that fashion; it only keeps
the stuff it does not already have.

Once you get used to Git it turns out to be exceptionally flexible.  The main
problem that I have is keeping track of what branch I am on. I have somewhat
ameliorated this by using a script that dynamically modifies my prompt to tell
me where I am.

The only thing about Git that I find lacking is that by design it does not keep
track of the file times.  There are third-party addons to do this but, Git
itself does not.


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?79bdc2dc938a0832051ad7d21faa3066.squirrel>