Re: tracking two git branches at once

2007-03-05 Thread Johannes Schindelin
Hi, On Mon, 5 Mar 2007, Graham Percival wrote: > cd /path/to/main/source/tree > git checkout web/master > git clone -l -s -n . web > git checkout master (or whatever branch you normally track) A good recipe! > # make sure that web/.git/config contains lines that look something like this: > [r

Re: tracking two git branches at once

2007-03-05 Thread Graham Percival
Mats Bengtsson wrote: I know very little about GIT, but if I understand you correctly, the main reason to do the clone locally is to save disk space and bandwidth, right? Yes. Since git keeps all changes for the entire repo, there's no point in storing all that data twice. If we used a sepa

Re: tracking two git branches at once

2007-03-05 Thread Johannes Schindelin
Hi, On Mon, 5 Mar 2007, Mats Bengtsson wrote: > I know very little about GIT, but if I understand you correctly, the > main reason to do the clone locally is to save disk space and bandwidth, > right? Right. > Otherwise it seems to me that it would be simpler to just make two > separate clon

Re: tracking two git branches at once

2007-03-05 Thread Mats Bengtsson
I know very little about GIT, but if I understand you correctly, the main reason to do the clone locally is to save disk space and bandwidth, right? Otherwise it seems to me that it would be simpler to just make two separate clones of the remote repository, assuming that you have a good internet

Re: tracking two git branches at once

2007-03-03 Thread Johannes Schindelin
Hi, On Fri, 2 Mar 2007, Graham Percival wrote: > Most of the time I track master. I have the documentation built, so > whenever I make a change it only takes a few minutes to compile the > changed the files. > > Occasionally I want to make a one-line change to web/master. If I just > do "gi

Re: tracking two git branches at once

2007-03-03 Thread John Mandereau
Le vendredi 02 mars 2007 à 23:37 -0800, Graham Percival a écrit : > Can I have a pair of directories like > lily-main/master > lily-main/web > > which track different branches of git? (ie without downloading all > changes twice) Of course! FWIW I have the web/master branch in a directory and a

tracking two git branches at once

2007-03-02 Thread Graham Percival
Is there a way to keep two branches on my filesystem at once? Err, this is probably a bad way of phrasing the question, so I'll just describe the problem: Most of the time I track master. I have the documentation built, so whenever I make a change it only takes a few minutes to compile the