Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions source/docs/programming/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,20 @@ When you wish to make a change to the code, create a new branch for said change.

By following these steps, you didn't touch your `main` branch until the changes were complete.

In some cases, you may have multiple people working on a feature at once. In this case,

1. Break down the feature into smaller tasks.
2. Create a branch for the feature.
3. From the new branch, create branches for each of the tasks.
4. Delegate the branches to different programmers.
5. Once a programmer knows their part of the feature works, have them merge their code into the feature branch. Each programmer should do this for their task.
6. Once all tasks are complete, test the feature branch.
7. Once the feature branch is stable, merge it into `main`.

!!! warning "Prone to Merge Conflicts"

Only do this if you or someone in your team is comfortable with resolving merge conflicts, as having multiple people work on one part of a project can result in conflicting changes.

### Commiting

### Merging
Expand Down
Loading