Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm trying to figure it out some nice workflow for our company, and we have so far the main repository on the github's organization account and we all, the members of the team working on the branches of that repo.

Could you please mention some advantages on forking the repo or some use, by the members of the organization?

I was thinking, that for example, I could make a fork and perform a upgrade of the libraries, but someone pointed that, "what is the differences on doing it simply in another branch,without forking?

Thank you in advance, for your time.

share|improve this question
add comment

2 Answers

The main benefit of github forking is allowing a gatekeeper workflow, where untrusted people can work on a feature and a trusted gatekeeper pulls it in after a review. That model is not very popular within a company, because employees are generally considered trusted.

However, it can be useful if you want an experienced employee to control who can change certain parts of the code, or if you want a repository that only contains commits that QA signed off on, that sort of thing.

share|improve this answer
add comment

To add to Karl's answer, pull requests are a good place to discuss the code added since each individual pull request have their own comment thread that is also markdown supported. This serves as a good form of documentation when you're trying to find out the reason behind a certain change in the codebase.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.