search

Home  >  Q&A  >  body text

git - How do others commit to my repository?

Tool: IntelliJ IDEA Community 2016.1.1
Using my account, I can commit on my computer. My classmates can clone my project into IngelliJ IDEA on his computer, but there is no way to push it. The push times

Push Filed
Failed with error:ERROR:Permission to OCCTony/TestForGit.git denied to OCCAngel. fatal: Could not read from remote repository.

Excuse me why I can’t access the remote warehouse? You can already clone it from there

某草草某草草2771 days ago623

reply all(2)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-02 09:38:11

    If you want him to be able to commit, there are two ways:
    1. Let him fork a copy of your project, make the changes and then pull the request. Merge after you test it and there is no problem.
    2. In the Collaborators section of the project settings, add his github account to the Collaborators.

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-02 09:38:11

    Permission issue, if anyone can touch your project at will, then that’s okay

    fork->pull request->merge

    reply
    0
  • Cancelreply