>
> somehow screwed up Git so I couldn't Pkg.update() anymore...

Use `Pkg.status()` to figure out which are dirty. Then you can do:

julia> Pkg.cd("PkgName")
shell> git stash   # safer, will save changes to a hash outside the main
history.
or
shell> git reset HEAD --hard  # unsafe - will destroy any changes

On Fri, Nov 14, 2014 at 4:59 PM, Frank Davidson <ffdavid...@gmail.com>
wrote:

> Hi,
>
> Anyone know of how you can easily look at package code while in Julia? It
> would be great if there were a way to do that... I ended up going into the
> .julia directory and somehow screwed up Git so I couldn't Pkg.update()
> anymore...
>
> Frank
>

Reply via email to