Close an Assigned GitHub Issue - cycotechnolgies/Online-Clothing-Shop GitHub Wiki

✅ How to Close an Assigned GitHub Issue (Contributor Guide)

Welcome to the team! This guide walks you through the correct and professional process to close an assigned issue, ensuring everything is properly linked, implemented, reviewed, and tracked in the GitHub Project.


🪜 Step-by-Step Instructions

🔹 Step 1: Check Your Assigned Issue

  1. Navigate to the repository and click the "Issues" tab.
  2. Use the filter: "Assigned to you".
  3. Click your assigned issue (e.g., #7 - Implement login form UI).

📌 Read the issue carefully. Ask questions in the comments if anything is unclear.


🔹 Step 2: Create a Feature Branch

Use your terminal or GitHub Desktop:

git checkout -b feature/<your-task-name>

✅ Example:

git checkout -b feature/login-form-ui`

Use consistent and lowercase names like feature/login-form, bugfix/cart-update.


🔹 Step 3: Implement the Feature or Fix

  • Make changes according to the issue description.

  • Test everything locally.


🔹 Step 4: Commit Your Code

git add .
git commit -m "feat: implement login form UI with validation"`

Follow proper commit conventions (e.g., feat:, fix:, docs:).


🔹 Step 5: Push the Branch

git push origin feature/<your-task-name>`

🔹 Step 6: Open a Pull Request (PR)

  1. GitHub will prompt you to "Compare & pull request".

  2. Fill the PR:

  • Title: Brief, clear summary

  • Description: What was done, any assumptions or screenshots

  • Reference the issue like this:

Closes #7`

🔹 Step 7: Submit for Review

  • Assign a reviewer.

  • Wait for feedback.

  • Make updates if needed.


🔹 Step 8: Merge After Approval

Once approved:

  1. Click "Merge pull request"

  2. Delete the branch (optional)

If Closes #7 is in your PR, GitHub will automatically close the issue when merged.


🔹 Step 9: Move the Issue Card on Project Board

  1. Go to Projects → Select your board (e.g., Olly Task Board)

  2. Locate your issue card

  3. Drag it to "Review" column

  4. After that Admin will Review the feature and mark it as Done.