Better to go into METADATA and check with git status exactly what happened before completely deleting it. Otherwise we'll never know what happened. At least move it to a different name so it's not gone.
On Wednesday, September 14, 2016 at 10:07:43 AM UTC-7, Chris Rackauckas wrote: > > +1000 for the REQUIRE hack. Never knew about that. Be careful to save the > packages you've been working on (or just commit and push somewhere) if you > do this though. > > On Wednesday, September 14, 2016 at 10:02:22 AM UTC-7, David P. Sanders > wrote: >> >> >> I am a fan of deleting the entire .julia directory in your home directory >> and reinstalling your packages. >> >> You can also just keep the REQUIRE file from .julia/v0.4 somewhere, do >> Pkg.init(), then copy the REQUIRE file back and do >> Pkg.resolve() to reinstall everything you previously had installed. >> >> El martes, 13 de septiembre de 2016, 10:54:43 (UTC-4), Rahul Mourya >> escribió: >>> >>> Hi, >>> I'm using Julia-0.4.6. My machine is behind a firewall, thus configured >>> git to use https: git config --global url."https://".insteadOf git://. >>> Under this setting, I'm able to install packages using Pkg.add(), >>> however, when I use Pkg.update(), I get following error: >>> >>> INFO: Updating METADATA... >>> Cannot pull with rebase: You have unstaged changes. >>> Please commit or stash them. >>> ERROR: failed process: Process(`git pull --rebase -q`, ProcessExited(1)) >>> [1] >>> in pipeline_error at process.jl:555 >>> in run at process.jl:531 >>> in anonymous at pkg/entry.jl:283 >>> in withenv at env.jl:160 >>> in anonymous at pkg/entry.jl:282 >>> in cd at ./file.jl:22 >>> in update at ./pkg/entry.jl:272 >>> in anonymous at pkg/dir.jl:31 >>> in cd at file.jl:22 >>> in cd at pkg/dir.jl:31 >>> in update at ./pkg.jl:45 >>> >>> what could be the reason? Any workaround this? >>> >>> Thanks! >>> >>