Why does upstream have a blank “=” value in my local git repo and how do I remove it?

  Kiến thức lập trình
`guest@abc123 abc123 % git remote -v                                                                                     
origin  [email protected]:abc123/repo.git (fetch)
origin  [email protected]:abc123/repo.git (push)
upstream        = (fetch)
upstream        = (push)
upstream        [email protected]:abc123/repo.git  (push)
guest@abc123 abc123 % git pull upstream 
fatal: '=' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.`

You can see I am getting fatal: '=' does not appear to be a git repository why is that even set? How can I delete those blank upstreams?

I tried googling this but I am not finding others with this default blank upstream setting.

When I try to set git remote add upstream .... It keeps the = blank entrys and does not reference the new git upstream remote that I added.

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT