[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Git help, please

From: Phil Holmes
Subject: Re: Git help, please
Date: Wed, 4 Apr 2012 17:57:12 +0100

----- Original Message ----- From: "David Kastrup" <address@hidden>
To: <address@hidden>
Sent: Wednesday, April 04, 2012 5:41 PM
Subject: Re: Git help, please

"Phil Holmes" <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]