I had the same issue recently, and I tried a bunch of stuff. I think deleting the "Julia Package Manager" Github token from my Github settings is what fixed it for me.
On Sun, Sep 13, 2015 at 4:04 PM, Diego Javier Zea <diego...@gmail.com> wrote: > I'm getting this problem with *git* when I do* Pkg.publish()*. How can I > solve it? Thanks > > julia> Pkg.publish() > INFO: Validating METADATA > INFO: Pushing PairedListMatrices permanent tags: v0.0.1, v0.0.2 > INFO: Submitting METADATA changes > INFO: Forking JuliaLang/METADATA.jl to diegozea > INFO: Could not authenticate with existing token. Deleting token and > trying again. > Enter host password for user 'diegozea': > INFO: Retrieving existing GitHub token. (You may have to re-enter your > password.) > Enter host password for user 'diegozea': > ERROR: forking JuliaLang/METADATA.jl failed: Bad credentials > in error at ./error.jl:21 > in fork at pkg/github.jl:144 > in pull_request at pkg/entry.jl:327 > in publish at pkg/entry.jl:394 > in anonymous at pkg/dir.jl:31 > in cd at file.jl:22 > in cd at pkg/dir.jl:31 > in publish at pkg.jl:61 > in eval_user_input at REPL.jl:64 > [inlined code] from REPL.jl:93 > in anonymous at task.jl:68 > > > >