添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions. Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).

Full Error:
error: src refspec master does not match any.
error: failed to push some refs to ' https://github.com/deeble34345/iac.git '

Action:

$ git push origin master
error: src refspec master does not match any.
error: failed to push some refs to 'https://github.com/deeble34345/iac.git'

FIx/Solution: For some beginners using git, it is common not to perform the add and commit, before pushing to the remote git repository. This is a possible reason for the error, git it good at providing hints in the error.

$ git add localgitdir
$ git commit -m "Initial Commit"
$ git push origin master