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.
给我你的怀抱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
習慣沉默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?
阿神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.