Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub open source project workflow [closed]

As the owner/coordinator of an open source project on GitHub, what is the common practice for committing changes yourself?

Is the following accurate:

  1. Create an organization
  2. Do the initial commit to the organization repo
  3. Fork the organization repo into your personal repo
  4. Commit to your personal repo
  5. Issue a pull request from your personal repo to the organization repo
like image 756
Omar Avatar asked May 25 '11 22:05

Omar


People also ask

Can I reopen a closed GitHub issue?

You can reopen a closed classic project and restart any workflow automation that was configured for the classic project.

Does GitHub still use GitHub flow?

For example, here at GitHub, we use GitHub flow for our site policy, documentation, and roadmap.

How do I open a closed file in GitHub?

How to reopen a pull-request from github? You need the rights to reopen pull requests on the repository. The pull request hasn't been merged, just closed. Go to Pull requests add filter `is:closed` choose PR you want to reopen.


1 Answers

If you are the owner of the GitHub repo, you wouldn't issue a pull request to your own GitHub repo because:

  • you wouldn't need to fork it on the GitHub side (the term "fork" refers to a GitHub clone of a GitHub repo)
  • your expression "Fork the organization repo into your personal repo" means "clone the GitHub repo onto your local workstation", where you can indeed "Commit to your personal repo".
  • if you have cloned it locally, its remote repo address is the GitHub repo you are the owner of, and you can directly push to it (no "pull request" required)

Other collaborators though, not owner of said organizational repo, would need to fork it, then to clone their fork (i.e. clone the GitHub copy onto their local workstation), and commit to their own repo before pushing to their GitHub copy.
If they want their changes to be reflected in the original organizational repo, then they would make a pull request to your initial GitHub repo.

like image 128
VonC Avatar answered Oct 29 '22 14:10

VonC