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