----- Original Message ----- From: "David Kastrup" <d...@gnu.org>
To: <lilypond-devel@gnu.org>
Sent: Wednesday, April 04, 2012 5:41 PM
Subject: Re: Git help, please


"Phil Holmes" <em...@philholmes.net> writes:

I have had a problem with this in the past, which is why I was
suggesting this route.  I had an uncommitted file on my local machine
that wasn't in master.  I'd not added it with commit -a or whatever,
and so my build was OK but patchy-staging fell over.  I wanted to
avoid the possibility.

git clone /my/repository /tmp/checkingplace

cd /tmp/checkingplace
test test test
cd ~
rm -rf /tmp/checkingplace


Whilst I always appreciate yours and Graham's help, this has been an absolute masterclass in "answering a question I didn't ask". I wasn't looking to create an alternative clone, since I already have one in my alternative user which I had been using for patchy. I feel I do need to understand git better (as you know) and I thought that using a remote branch to test my LSR update would be a great example of this. I also need to learn how to revert, and ditto applies.

As a BTW - does cloning as above fetch the whole repo, or just recreate it locally?

--
Phil Holmes



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to