1
0
mirror of synced 2025-12-26 14:02:45 -05:00
Files
docs/content/desktop/contributing-and-collaborating-using-github-desktop/creating-an-issue-or-pull-request.md
Jason Etcovitch caaee7a124 Update all files to use {% data %} (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00

5.9 KiB

title, intro, permissions, redirect_from, versions
title intro permissions redirect_from versions
Creating an issue or pull request You can create an issue or pull request to propose and collaborate on changes to a repository. Anyone can create an issue in a public repository that has issues enabled. Anyone with read permissions to a repository can create a pull request, but you must have write permissions to create a branch.
/desktop/contributing-to-projects/creating-an-issue-or-pull-request
/desktop/contributing-to-projects/creating-a-pull-request
free-pro-team
*

About issues and pull requests

You can use issues to track ideas, bugs, tasks, and other information that's important to your project. You can create an issue in your project's repository with {% data variables.product.prodname_desktop %}. For more information about issues, see "About issues."

After you create a branch and make changes to files in a project, you can create a pull request. With a pull request, you can propose, discuss, and iterate on changes before you merge the changes into the project. You can create a pull request in your project's repository with {% data variables.product.prodname_desktop %}. For more information about pull requests, see "About pull requests."

Prerequisites

Before you create a pull request, you'll need to push changes to a branch on {% data variables.product.prodname_dotcom %}.

Creating an issue

{% mac %}

  1. In the menu bar, use the Repository drop-down menu, then click Create Issue on {% data variables.product.prodname_dotcom %}. Repository value in the Branch menu
  2. On {% data variables.product.prodname_dotcom %}, click Get started to open an issue template or click Open a blank issue. Create new issue options

{% endmac %}

{% windows %}

  1. In the menu bar, use the Repository drop-down menu, then click Create issue on {% data variables.product.prodname_dotcom %}. The Repository value in the Branch menu
  2. On {% data variables.product.prodname_dotcom %}, click Get started to open an issue template or click Open a blank issue. Create new issue options

{% endwindows %}

{% note %}

Note: If issue templates aren't enabled in your current repository, {% data variables.product.prodname_desktop %} will direct you to a blank issue on {% data variables.product.prodname_dotcom %}.

{% endnote %}

Creating a pull request

{% mac %}

  1. Switch to the branch that you want to create a pull request for. For more information, see "Switching between branches."
  2. Click Create Pull Request. {% data variables.product.prodname_desktop %} will open your default browser to take you to {% data variables.product.prodname_dotcom %}. The Create Pull Request button
  3. On {% data variables.product.prodname_dotcom %}, confirm that the branch in the base: drop-down menu is the branch where you want to merge your changes. Confirm that the branch in the compare: drop-down menu is the topic branch where you made your changes. Drop-down menus for choosing the base and compare branches {% data reusables.repositories.pr-title-description %} {% data reusables.repositories.create-pull-request %}

{% endmac %}

{% windows %}

  1. Switch to the branch that you want to create a pull request for. For more information, see "Switching between branches."
  2. Click Create Pull Request. {% data variables.product.prodname_desktop %} will open your default browser to take you to {% data variables.product.prodname_dotcom %}. The Create Pull Request button
  3. On {% data variables.product.prodname_dotcom %}, confirm that the branch in the base: drop-down menu is the branch where you want to merge your changes. Confirm that the branch in the compare: drop-down menu is the topic branch where you made your changes. Drop-down menus for choosing the base and compare branches {% data reusables.repositories.pr-title-description %} {% data reusables.repositories.create-pull-request %}

{% endwindows %}

Further reading

  • "Issue" in the {% data variables.product.prodname_dotcom %} glossary
  • "Pull request" in the {% data variables.product.prodname_dotcom %} glossary
  • "Base branch" in the {% data variables.product.prodname_dotcom %} glossary
  • "Topic branch" in the {% data variables.product.prodname_dotcom %} glossary