3

When I try to install a project I get the following error .

error: src refspec master does not match any.
error: failed to push some refs to ****

I looked this Solution, but could not find solution of my problem.

Link to my configuration image.

Community
  • 1
  • 1
omernaci
  • 383
  • 3
  • 16

1 Answers1

1

You have problem in your configuration.

Try to clone it again and it should work.

the configuration master.remote should be set to origin and not to github

this is why its not working for you.

Edit the .git/config and change it

[remote "origin"]
    url = https://github.com/omernaci/FilterDesign.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master
CodeWizard
  • 128,036
  • 21
  • 144
  • 167