search

Home  >  Q&A  >  body text

How to use github to collect assignments?

I created a homework project on github.
How can I let students git push their assignments here?
There is no way I can give them the key id_rsa.

某草草某草草2791 days ago1036

reply all(4)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-02 09:48:38

    You can create a new warehouse, add the person who submitted the assignment as a collaborator, create a personal branch, publish the assignment on the master, and everyone can submit the assignment to their personal branch.
    Just like this, our laboratory currently uses this method to submit homework cases

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-02 09:48:38

    1.fork + pull request
    2.You can directly give push permission

    You don’t have to worry about copying your homework?

    reply
    0
  • 阿神

    阿神2017-05-02 09:48:38

    Let students fork your repository, and then make modifications individually. When they are done, let them click the pull request on the page, and it will be submitted to you.

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-02 09:48:38

    Ask them to submit a PR and you can merge it

    reply
    0
  • Cancelreply