You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
andystoys edited this page May 18, 2024
·
1 revision
How do I add my changes to the main branch?
Create a separate branch with your changes.
Push your changes to the GitHub repository.
Create a pull request to merge your changes into the main branch.
Once the pull request is approved, you can merge your changes into the main branch.
Why can't I add my changes directly to the main branch?
The main branch is a special branch where all new changes are branched from. As such, the main branch should always be in a working state so anyone can create a branch and add their changes from a point in time when the project is still functional. If the main branch is ever in a broken state, a fix should quickly be implemented, reviewed, and merged in to bring the main branch back into a working state.