generated from hackforla/.github-hackforla-base-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Completing a Dev Issue
Sydney Walcoff edited this page Feb 18, 2024
·
1 revision
So you've been assigned an issue, now what? How does that issue make it from your computer into the code base? This is a comprehensive guide to completing an issue.
- Make Your Changes: Implement your changes or fixes in your local development environment.
-
Stage Your Changes:
- Add the changes to the staging area using the
git add
command. You can add individual files or all changes at once:- For specific files, use:
git add <filename>
- For all changes, use:
git add .
- For specific files, use:
- Add the changes to the staging area using the
-
Commit Your Changes:
- After staging your changes, commit them to your local branch with a meaningful commit message using:
git commit -m "Your meaningful commit message"
- Ensure that your commit message clearly describes the changes you have made.
- After staging your changes, commit them to your local branch with a meaningful commit message using:
-
Run Reformatter and Linter: Before pushing your changes, ensure code quality by running our predefined reformatter and linter. Use the command:
npm run lint:fix
- Commit Your Changes: After making changes, commit them to your local branch.
- Push to GitHub: Push your committed changes to the remote repository on GitHub using: git push origin BRANCHNAME
Replace BRANCHNAME
with the name of your branch.
- Open Pull Requests Tab: Navigate to the 'Pull Requests' tab on your GitHub repository page.
- Initiate New Pull Request: Click the "New pull request" button.
-
Set Base Branch: Ensure that the base branch is set to
base:dev
. - Set Compare Branch: Ensure that the compare branch is set to the local branch you created and are pushing the changes with.
-
Provide PR Details:
-
Title: Create a concise and meaningful title for your PR, use the issue number infront of your title like so:
#411-fix footer
this provides the reviewer with clear insight on what issue this PR is regarding. - Description: Add a detailed description of the changes. Explain why these changes are necessary and how they address the issue.
-
Title: Create a concise and meaningful title for your PR, use the issue number infront of your title like so:
- Move Issue to 'Ready for Review': In our project board move the associated issue to the "Ready for Review" section.
-
Notify Team: Post in the
#expunge-assist-dev
channel with a link to your newly created PR.
- Peer Review: Wait for at least one approval from your teammates. Address any feedback or changes requested.
-
Final Approval and Merge: After receiving the necessary approval(s), assign the PR to the Development Lead for final review and merging into the
dev
branch.
The Wiki is a working document and we would love to improve it. Please compile any questions and suggestions you may have and submit it via GitHub. Here's information on how to create a GiHub issue.