サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
参議院選挙2025
docs.github.com/articles
To compare different versions of your repository, append /compare to your repository's path. We'll demonstrate the power of Compare by looking at the compare page for a fork of the Linguist repo, which is at https://github.com/octocat/linguist/compare/master...octocat:master. Every repository's Compare view contains two drop down menus: base and compare. base should be considered the starting poin
You can protect important branches by setting branch protection rules, which define whether collaborators can delete or force push to the branch and set requirements for any pushes to the branch, such as passing status checks or a linear commit history. Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations. Protected branches are also available
About contributing guidelines To help your project contributors do good work, you can add a file with contribution guidelines to your project repository's root, docs, or .github folder. When someone opens a pull request or creates an issue, they will see a link to that file. The link to the contributing guidelines also appears on your repository's contribute page. For an example of a contribute pa
About searching on GitHub You can search globally across all of GitHub, or scope your search to a particular repository or organization. To search globally across all of GitHub, type what you're looking for into the search field at the top of any page, and choose "Search all of GitHub" in the search dropdown menu. To search within a particular repository or organization, navigate to the repository
Use the text editor to add your page's content. In the "Edit message" field, type a commit message describing the new file you’re adding. To commit your changes to the wiki, click Save Page. Editing wiki pages On GitHub, navigate to the main page of the repository. Under your repository name, click Wiki. Using the wiki sidebar on the right, navigate to the page you want to change. In the upper-rig
File views show the latest version on a branch When viewing a file on GitHub, you usually see the version at the current head of a branch. For example: https://github.com/github/codeql/blob/main/README.md refers to GitHub's codeql repository, and shows the main branch's current version of the README.md file. The version of a file at the head of branch can change as new commits are made, so if you
About keyboard shortcuts Typing ? on GitHub brings up a dialog box that lists the keyboard shortcuts available for that page. You can use these keyboard shortcuts to perform actions across the site without using your mouse to navigate. You can disable character key shortcuts, while still allowing shortcuts that use modifier keys, in your accessibility settings. For more information, see Managing a
If you're having trouble cloning a repository, check these common errors. HTTPS cloning errors There are a few common errors when using HTTPS with Git. These errors usually indicate you have an old version of Git, or you don't have access to the repository. Here's an example of an HTTPS error you might receive: > error: The requested URL returned error: 401 while accessing > https://github.com/USE
Review the details about the commits from the upstream repository, then click Update branch. If the changes from the upstream repository cause conflicts, GitHub will prompt you to create a pull request to resolve the conflicts. Syncing a fork branch with the GitHub CLI GitHub CLI is an open source tool for using GitHub from your computer's command line. When you're working from the command line, y
GitHub Pages is available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub’s plans. GitHub Pages now uses GitHub Actions to execute the Jekyll build. When using a branch as the source of your build, GitHub Actions mus
You can transfer repositories to other users or organization accounts. About repository transfers When you transfer a repository to a new owner, they can immediately administer the repository's contents, issues, pull requests, releases, projects, and settings. You can also change the repository name while transferring a repository. See Renaming a repository. Prerequisites for repository transfers:
You must configure a remote that points to the upstream repository in Git to sync changes you make in a fork with the original repository. This also allows you to sync changes made in the original repository with the fork. Open TerminalTerminalGit Bash. List the current configured remote repository for your fork. $ git remote -v > origin https://github.com/YOUR-USERNAME/YOUR-FORK.git (fetch) > ori
About your contribution graph Your profile contributions graph is a record of contributions you've made to repositories on GitHub. Contributions are timestamped according to Coordinated Universal Time (UTC) rather than your local time zone. Contributions are only counted if they meet certain criteria. In some cases, we may need to rebuild your graph in order for contributions to appear. If you are
About importing source code Importing your source code to GitHub makes it easier for you and others to work together on projects and manage code. GitHub helps you collaborate, track changes, and organize tasks, making it simpler to build and manage projects. For more information, see About GitHub and Git. Warning Never git add, commit, or push sensitive information, for example passwords or API ke
Organization owners can manage individual and team access to the organization's repositories. Team maintainers can also manage a team's repository access.
You can search for issues and pull requests on GitHub and narrow the results using these search qualifiers in any combination.
GitHub account names are available on a first-come, first-served basis, and are intended for immediate and active use. What if the username I want is already taken? Keep in mind that not all activity on GitHub is publicly visible; accounts with no visible activity may be in active use. If the username you want has already been claimed, consider other names or unique variations. Using a number, hyp
Tip If you clone GitHub repositories using SSH, then you can authenticate using an SSH key instead of using other credentials. For information about setting up an SSH connection, see Connecting to GitHub with SSH. GitHub CLI GitHub CLI will automatically store your Git credentials for you when you choose HTTPS as your preferred protocol for Git operations and answer "yes" to the prompt asking if y
Help us make these docs great!All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request. Make a contributionLearn how to contribute
D. What If I Inadvertently Missed the Window to Make Changes? Welcome to GitHub's Guide to the Digital Millennium Copyright Act, commonly known as the "DMCA." This page is not meant as a comprehensive primer to the statute. However, if you've received a DMCA takedown notice targeting content you've posted on GitHub or if you're a rights-holder looking to issue such a notice, this page will hopeful
Viewing images You can directly browse and view images in your repository on GitHub. SVGs don't currently support inline scripting or animation. Viewing differences You can visually compare images in three different modes: 2-up, swipe, and onion skin. 2-up 2-up is the default mode; it gives you a quick glimpse of both images. In addition, if the image has changed size between versions, the actual
You can use OAuth tokens to interact with GitHub via automated scripts. Step 1: Get an OAuth token Create a personal access token on your application settings page. For more information, see "Creating a personal access token." Tips: You must verify your email address before you can create a personal access token. For more information, see "Verifying your email address." We recommend that you regul
You can search globally across all of GitHub, or scope your search to a particular repository or organization. For more information, see About searching on GitHub. You can only search code using these code search qualifiers. Search qualifiers specifically for repositories, users, or commits, will not work when searching for code. Tip This article contains links to example searches on the GitHub.co
You can use simple features to format your comments and interact with others in issues, pull requests, and wikis on GitHub.
About changing the default branch You can choose the default branch for a repository. The default branch is the base branch for pull requests and code commits. For more information about the default branch, see About branches. You can also rename the default branch. For more information, see Renaming a branch. You can set the name of the default branch for new repositories. For more information, s
If you use your GitHub account for both personal and work purposes, there are a few things to keep in mind when you leave your company or organization. Before you leave your company, make sure you update the following information in your personal account: Unverify your company email address by deleting it in your Email settings. You can then re-add it without verifying to keep any associated commi
About personal access tokens Personal access tokens are an alternative to using passwords for authentication to GitHub when using the GitHub API or the command line. Personal access tokens are intended to access GitHub resources on behalf of yourself. To access resources on behalf of an organization, or for long-lived integrations, you should use a GitHub App. For more information, see About creat
次のページ
このページを最初にブックマークしてみませんか?
『docs.github.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く