How to fix git pull origin master returns fatal: invalid refspec ?



remove lines below from .git/config[remote “origin”]


        url = git@github.com:dxxxx/xxxxxxxx.git
        fetch = +refs/heads/*:refs/remotes/origin/*

Type following commands

 git remote add origin git@github.com:xxxxxx/xxx.git
 git remote -v

Comments

Popular posts from this blog

Best PHP comment DockBlock !

How to fix pgDump dbeaver ?