DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Development Collaboration with Pull Request


Say your partner is Tom.

  1. Fork Tom's repository;

  2. Clone your forked repository to your laptop;

  3. Commit modificatioins to your laptop repository;

  4. Push modifications to your forked repository;

  5. Send a pull request in your forked repository on github website;

  6. Tom accept your request and merges into his repository;

  7. In your laptop repository, add upstream repository as a remote source;

  8. Sync with the upstream repository with git fetch and git merge;

This is a whole cycle. Repeat above steps to collaborate with Tom.

Ref:

How to update GitHub forked repository?

Pushing to a remote

Syncing a fork



Published

Jul 23, 2015

Last Updated

Jul 23, 2015

Category

Tech

Tags

  • collaboration 2
  • git 36
  • github 6
  • pull request 1

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor