Issues & Pull Requests

Issues

Issues help you track bugs, feature requests, and tasks for your project.

Creating an Issue

  1. Navigate to your repository
  2. Click the "Issues" tab
  3. Click "New Issue"
  4. Fill in:
    • Title: Brief description
    • Description: Detailed information
    • Labels: Categorize the issue
    • Milestone: Associate with a project milestone
  5. Click "Submit Issue"

Issue Labels

Labels help organize and filter issues:

  • bug - Something isn't working
  • enhancement - New feature request
  • documentation - Improvements to docs
  • help wanted - Extra attention needed
  • good first issue - Good for newcomers

Managing Issues

  • Assign: Assign issues to team members
  • Comment: Discuss the issue
  • Close: Mark as resolved
  • Reopen: Revisit closed issues

Pull Requests

Pull requests let you propose changes to a repository and review them before merging.

Creating a Pull Request

  1. Fork the repository (if contributing to someone else's project)
  2. Create a new branch:

    git checkout -b feature/my-feature
    
  3. Make your changes and commit:

    git add .
    git commit -m "Add new feature"
    git push origin feature/my-feature
    
  4. Go to the repository on gityar

  5. Click "Pull Requests""New Pull Request"

  6. Select your branch and provide:

    • Title: What your changes do
    • Description: Why and how you made these changes
  7. Click "Create Pull Request"

Code Review

Reviewers can:

  • Comment on specific lines of code
  • Request changes before merging
  • Approve the pull request
  • Merge when ready

Best Practices

  • Write clear, descriptive titles
  • Provide context in descriptions
  • Keep pull requests focused and small
  • Respond to review feedback promptly
  • Update your branch if needed:

    git pull origin main
    git push origin feature/my-feature
    

Next Steps