I got this error today in my development laptop. I tried to do a bench update
chris@chris:~/frappe/frappe-bench$ bench update
INFO:bench.utils:updating bench
fatal: Couldn't find remote ref refs/heads/new-install
Unexpected end of command stream
Traceback (most recent call last):
File "/usr/local/bin/bench", line 9, in <module>
load_entry_point('bench==2.0.0', 'console_scripts', 'bench')()
File "/usr/local/frappe/bench-repo/bench/cli.py", line 40, in cli
bench_command()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/local/frappe/bench-repo/bench/commands/update.py", line 49, in update
update_bench()
File "/usr/local/frappe/bench-repo/bench/utils.py", line 193, in update_bench
exec_cmd("git pull", cwd=cwd)
File "/usr/local/frappe/bench-repo/bench/utils.py", line 99, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: git pull
Any idea why?