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

How to fix – DBeaver Native client is not specified for connection ?