On Sun, 10 Mar 2019 at 12:42, sebb <[email protected]> wrote: > > On Sun, 10 Mar 2019 at 12:22, Vladimir Sitnikov > <[email protected]> wrote: > > > > sebb, do you have local changes? > > No. > > > If no, then the following commands would help: > > > > I assume you've added my repo as vlsi: > > Not sure what you mean by that. > > I think I used 'git clone -b gradle --depth 1 > https://github.com/vlsi/jmeter.git' > > $ git remote -v > origin https://github.com/vlsi/jmeter.git (fetch) > origin https://github.com/vlsi/jmeter.git (push) > > > git fetch vlsi > > git reset --hard vlsi/gradle > > > > If you cloned my repository as origin, then the following would do: > > git fetch > > git reset --hard origin/gradle
Thanks, that did work, and was much quicker than cloning again. > Why is it necessary to reset? > > I have other clones where I don't update locally, and git pull works fine. > > > Vladimir > > > > > > > >
