Re: Feature Proposal: Track all branches from a given remote

2014-10-26 Thread Andreas Schwab
Scott Johnson writes: > Do you think there would be any interest in a patch that added this as > a simple command line option, though? I guess the idea of this patch > then would simply change this line in the .git/config file for the > length of the operation (and specified remote), execute the

Re: Feature Proposal: Track all branches from a given remote

2014-10-26 Thread Scott Johnson
Hi Brian: > [remote "origin"] > fetch = refs/heads/*:refs/heads/* Yes, you're right, this works just fine as long as I move out from a branch that's not in the remote in question, for example by doing: git checkout -b nothing git fetch - OR - git pull Do you think there would be any interes

Re: Feature Proposal: Track all branches from a given remote

2014-10-25 Thread brian m. carlson
On Sat, Oct 25, 2014 at 04:34:30PM -0700, Scott Johnson wrote: > Hello git experts: > > Recently, I've encountered the problem where I would like to set my > local repository copy to track all branches on a given remote. There > does not appear to be a switch for this in the git-branch command > c

Feature Proposal: Track all branches from a given remote

2014-10-25 Thread Scott Johnson
Hello git experts: Recently, I've encountered the problem where I would like to set my local repository copy to track all branches on a given remote. There does not appear to be a switch for this in the git-branch command currently, however, I will admit that my somewhat limited understanding of t