It looks like you're offline.
Open Library logo
additional options menu
Last edited by Mek
July 20, 2010 | History

Committing Changes

This document is intended for developers with read/write access to the http://www.github.com/openlibrary/openlibrary repository. Other developers should submit changes by submitting a github pull request.

Proposed git workflow using github forks:

  1. Fork http://github.com/openlibrary/openlibrary on github
  2. You get http://github.com/{username}/openlibrary
  3. $ git clone <git@github.com>:{username}/openlibrary.git
  4. $ cd openlibrary
  5. $ git add remote olgithub <git@github.com>:openlibary/openlibrary.git # Remote for openlibrary/openlibrary
  6. Make some changes to file foo.py
  7. $ git add foo.py
  8. $ git commit -m "My commit message" # commits to local repository
  9. $ git push origin master # push your local master to your github fork master
  10. $ git pull <git@github.com>:openlibary/openlibrary.git master # pull in changes from openlibrary/master
  11. Resolve any conflicts
  12. $ git push # push to your github fork
  13. $ git push olgithub master:master # push local master to github openlibrary/master
  14. $ git push olgithub master:production # push to local production to github openlibrary/production

History

June 27, 2021 Edited by Mek Edited without comment.
June 27, 2021 Edited by Mek Edited without comment.
March 23, 2013 Edited by Ben Companjen git@github.com was auto-escaped as an email address, changed to https:// form. Added link to GitHub's forking help.
March 23, 2013 Edited by Ben Companjen Added workflow for submitting pull requests
February 27, 2013 Edited by Ben Companjen HTTPS URLs may not show up...