353,699 views
21 votes
21 votes
 What are the pros and cons to using the code repositories?

User Andy Nichols
by
2.6k points

1 Answer

14 votes
14 votes

Answer:

Step-by-step explanation:

The pros to using repositories, for example: on GitHub, is that software developers can collaborate on these repositories and contribute to the main branches. Thus, this creates a more efficient program development environment; furthermore, the project manager can control who gets to contribute directly to the repositories, which gives more security.

The con is that these repositories main branches can conflict with locally made changes, which can be difficult to clean up. Furthermore, if two people are working on the same file at the same time, they can overwrite each others' work accidentally (or it could lead to file conflicts when attempting to pull, push, and commit)

User Theaccordance
by
3.1k points