281 Search results for "diff context"
GitHub CLI / GitHub CLI /
Using the GitHub CLI across GitHub platforms
GitHub CLI automatically detects your intended account when you're in the context of a specific repository. For example, if you cd into your my-repo directory
GitHub Copilot / Customize Copilot /
Adding personal custom instructions for GitHub Copilot
style is a helpful colleague, minimize explanations but provide enough context to understand the code.
Always provide examples in TypeScript.
Personal
REST API / Pull requests /
REST API endpoints for pull request reviews
determine the position of that line in the diff. To see a pull request diff, add the application/vnd.github.v3.diff media type to the Accept header of a call
Repositories / Work with files / Using files /
Working with non-code files
changes made to the document as part of a commit, click
.
This "rich diff" highlights the code that has been added and removed.
Disabling Markdown
Building communities / Issue & PR templates /
Syntax for GitHub's form schema
Description
markdown
Markdown text that is displayed in the form to provide extra context to the user, but is not submitted.
textarea
A multi-line text field.
input
Repositories / Create & manage repositories /
Quickstart for repositories
click Preview.
Review the changes you made to the file. If you select Show diff, you will see the new content in green.
Click Commit changes...
In the "Commit
GitHub Copilot / Use GitHub Copilot / Copilot Chat /
Prompt engineering for Copilot Chat
Copilot to complete. In addition to your prompt, Copilot uses additional context, like the code in your current file and the chat history, to generate a
GitHub Actions / Security / Security harden deployments /
About security hardening with OpenID Connect
assembled from concatenated metadata. The subject uses information from the job context, and instructs your cloud provider that access token requests may only be
REST API / Actions /
REST API endpoints for GitHub Actions OIDC
Status: 200
{
"include_claim_keys": [
"repo",
"context"
]
}
Set the customization template for an OIDC subject claim for an
GitHub CLI /
GitHub CLI documentation
command line, you can use the GitHub CLI to save time and avoid switching context.