Remote anonymous access to repository denied?

后端 未结 5 952
借酒劲吻你
借酒劲吻你 2021-02-20 04:49

I\'m on Ubuntu 12.04 LTS and just upgraded my git from 1.7-something to version 1.8.4. The problem is when I want to push to a GitHub repo

5条回答
  •  离开以前
    2021-02-20 05:39

    I faced a similar problem and got to this question in the search for an answer.

    Figured out the issue.

    1. Using the command git push without adding any files can give this error
    2. Using the command git push without adding any commits can do the same

    so the simple solution would be to follow this

    git add --all .
    git commit
    git push
    

提交回复
热议问题