Skip to content

Instantly share code, notes, and snippets.

View tech-rohitb's full-sized avatar

techrb tech-rohitb

View GitHub Profile
@tech-rohitb
tech-rohitb / gist:a4b2c0a867960949727f952c80c7c39b
Created September 8, 2024 14:23 — forked from nzakas/gist:5511916
Using GitHub inside a company

I'm doing some research on how companies use GitHub Enterprise (or public GitHub) internally. If you can help out by answering a few questions, I'd greatly appreciate it.

  1. What is the primary setup? Is there an organization and each official repo is owned by that organization?
  2. Does every engineer have a fork of each repo they're working on?
  3. Are engineers allowed to push directly to the official repo? Or must all commits go through a pull request?
  4. Do engineers work on feature branches on the main repo or on their own forks?
  5. Do you require engineers to squash commits and rebase before merging?
  6. Overall, what is the workflow for getting a new commit into the main repository?
  7. What sort of hooks do you make use of?
  8. Are there any ops issues you encountered? (Scaling, unforeseen downtime, etc.)