RE: Switching branches not working in a cloned repo

2016-09-19 Thread Paul Williamson
-Original Message- From: Jacob Keller [mailto:jacob.kel...@gmail.com] >Try a fresh clone with "git checkout --track origin/web_dev" and then a "git >status -v" and let us know what happens. I suspect that older clones have the >correct branches already setup for tracking, but the new

Re: Switching branches not working in a cloned repo

2016-09-19 Thread Jacob Keller
On Mon, Sep 19, 2016 at 6:58 AM, Paul Williamson wrote: > Hi, > > We use git extensively on a number of repos. Recently, we have had a problem > with one of them. This repo has a 'web_dev' branch. For copies of the repo > cloned before a certain (recent but

RE: Switching branches not working in a cloned repo

2016-09-19 Thread Paul Williamson
-Original Message- From: Philip Oakley [mailto:philipoak...@iee.org] >Have you tried `git ls-remote` ? >The `branch -r` just lists the local 'rtb's (IIUC). Nice, I didn't know about that command - I tried it though and it does list the remote branches correctly. I checked the commit

Re: Switching branches not working in a cloned repo

2016-09-19 Thread Philip Oakley
From: "Paul Williamson" Hi, We use git extensively on a number of repos. Recently, we have had a problem with one of them. This repo has a 'web_dev' branch. For copies of the repo cloned before a certain (recent but unidentified) time, we could 'git checkout'

Switching branches not working in a cloned repo

2016-09-19 Thread Paul Williamson
Hi, We use git extensively on a number of repos. Recently, we have had a problem with one of them. This repo has a 'web_dev' branch. For copies of the repo cloned before a certain (recent but unidentified) time, we could 'git checkout' between master and web_dev and everything would be normal.