Issue‐Driven Development - barrycumbie/solid-fishstick-snowcats GitHub Wiki
- Created by Brody Coan and Slade Berryman in Spring of '24
Prepare the repo
- Initially, there should only be a main branch and a development branch
Create the Issue
- Navigate to Issues and create the issue at hand
Create the Issue's Branch
- In the bottom right of your new Issue, click Create a branch for this issue
- Create the new branch. Descriptive names can be used, or simply "iss1" would suffice
Switch to your new issue branch
- Assuming you already have this repo on your local machine, run the following command:
git checkout <branch-name>
Make the necessary changes to address your issue
- In this case, we simply needed to create an index.html
Push your fix
- Use the following commands
git add *
git commit -m "closes #1"
(whatever number commit you are closing)git push
Merge Your Changes
- If you navigate back to your issue, you will see the commit referencing that issue
- Create a pull request into your development branch
- Make sure there are no conflicts and merge
Delete the issue branch
- When the development branch is merged into the main branch, the issue will be automatically closed