Writing pull request descriptions with Copilot text completion
Write pull request descriptions more quickly and accurately with Copilot text completion.
Who can use this feature?
Members of an enterprise with a subscription toGitHub Copilot Enterprise
In this article
Note
Copilot text completion is currently in public preview and subject to change. To participate in the public preview, an administrator of your enterprise must opt in to the use of previews of Copilot features. SeeManaging policies and features for Copilot in your enterprise.
Using Copilot text completion
You can use Copilot text completion in the description of a new pull request you're creating.
- On GitHub, create a pull request.
- In the description field, start typing your description.
- As you type, Copilot will provide in-line suggestions based on the context of the pull request.
- Review the suggestions, which will be shown in grey.
- To accept a suggestion, press
Tab
. - To ignore a suggestion, press
Esc
or continue typing. Copilot will provide new suggestions as you type, based on the additional context.
- To accept a suggestion, press
- When you're happy with the description, clickCreate pull request.
Disabling or enabling Copilot text completion
You can disable or enable Copilot text completion for your pull request descriptions. Your preference will be saved for future pull requests.
- On GitHub, create a pull request.
- At the top of the description field, select then hover overAutocomplete (Public preview), and clickDisabled orEnabled.