Learn how to mark a GitHub issue as resolved with our step-by-step guide. Auto-close via commit keywords or manually close issues through GitHub.
Book a call with an Expert
Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.
Step 1: Navigate to Your GitHub Repository
Open your web browser and go to the GitHub repository where the issue lives. You’ll need to be signed in with an account that has permission to view and modify issues.
Step 2: Locate the Issue You Want to Resolve
Find the “Issues” tab at the top of the repository page and click it. Browse the list or use the search bar to filter by issue number, title, or labels.
#123
) or filters (Open, Closed, Labels).
Step 3: Choose Your Resolution Method
You have two main options to mark an issue as resolved:
Fixes
, Closes
).
Step 4: Auto-Close by Including a Keyword in Your Commit Message
git clone https://github.com/USERNAME/REPO.git
cd REPO
git checkout -b fix-issue-123
Make your code changes to address the issue.
Stage and commit your changes using a closing keyword followed by the issue number:
git add .
git commit -m "Fix typo in documentation. Fixes #123"
Step 5: Push Your Branch and Open a Pull Request
git push --set-upstream origin fix-issue-123
On GitHub, click the “Compare & pull request” button.
In the PR description, include the same closing keyword if you didn’t in your commit (e.g., “Closes #123”).
Submit the pull request for review.
Step 6: Merge the Pull Request to Auto-Close the Issue
Once your PR is approved:
GitHub will automatically close the issue referenced by your keyword (e.g., “Fixes #123”).
Step 7: Manually Close an Issue via the GitHub Interface
If you prefer to close the issue without a commit keyword or after verifying resolution:
Step 8: Verify That the Issue Is Resolved
After merging your PR or manually closing:
You have now successfully marked a GitHub issue as resolved!
When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.