classroom
https://github.com/education/classroom
Ruby
GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
GitHubRepository#add_collaborator
NOTE: LEGACY, DO NOT REMOVE. This is needed for the lib/collab_migration.rb
Edit
git clone [email protected]:education/classroom.git
cd classroom
open app/models/github_repository.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-GitHubRepository-add_collaborator-for-pr
# Commit to gitgit add app/models/github_repository.rbgit commit -m "better docs for GitHubRepository#add_collaborator"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-GitHubRepository-add_collaborator-for-pr
hub pull-request
# Celebrate!