Re: [oll-user] Fw: Git workflow
Resources for LilyPond and LaTeX users writing (about) music
Status: Alpha
Brought to you by:
u-li-1973
From: Phil H. <ma...@ph...> - 2014-01-12 16:16:32
|
----- Original Message ----- From: "David Webber" <da...@mu...> To: "oll-user" <ope...@li...> Sent: Sunday, January 12, 2014 4:00 PM Subject: Re: [oll-user] Fw: Git workflow > From: Urs Liska > >> Yes, Git does things that are simply out of reach for any file based >> approach. But it can't do them on binary files. > I also noticed that some participants still talk of "uploading" ,and that > shows that you're still on the wrong track.< > > ??? > > Are you saying that "git push" does not copy my file to the GitHub server? Urs is being somewhat pedantic. push copies your changes to the server. There's a difference between what I just said and what you said. Since git is a revision control system, it really works on the basis of changes in revisions, rather than uploading files. However, with files where it can't track change (i.e. binary files), the only change it knows about is that there's a completely new version of the file. Therefore the whole of the file gets pushed to the server, so in ftp terms, it would be uploaded. It's easier to consider this in the context of text files, where if you change a single line, all that is pushed to github is a message saying "hey - there's a new line 4 - here it is". > The alternative AFAICT would be to put a reference (of some kind) to the > source file on my computer there, so that when someone else wants to look > at > it, it gets uploaded from me and downloaded to them. Is that what > happens? > (I find the idea rather frightening.) See above. >> And yes, this clearly indicates that we're having an issue with the >> concept of all this. >> I'm not sure how to deal with it, and I can only say: for those of you >> who >> use "versionable" (i.e. text) files this effort will surely pay off on >> the >> long run. > > Possibly. > > Dave If you _want_ to work out why Urs believes this, then http://lilypondblog.org/2014/01/why-use-version-control-for-engraving-scores/ may be of help. Otherwise, stick with my recipe for now. -- Phil Holmes |