Code Monkey home page Code Monkey logo

test_pull_request's Introduction

# GitHub pull request練習用リポジトリ ## pull request手順 以下の通りです 1. 各自でGithubアカウント作成/ログイン 1. pull request test用リポジトリをfork 1. forkしたリポジトリを取得/変更を加える 1. Pull Requestをする ## 1. Githubアカウント作成/ログイン 以下を参考にGithubアカウントを作成してログインする。
[GitHub-アカウントの準備と設定](https://git-scm.com/book/ja/v2/GitHub-アカウントの準備と設定) ## 2. pull request test用リポジトリをfork Github UI上から、以下のtest用リポジトリをforkする。
> [https://github.com/seigot/test_pull_request](https://github.com/seigot/test_pull_request) fork手順自体は、以下を参考にすると分かりやすい。 > [リポジトリをフォークする](https://docs.github.com/ja/free-pro-team@latest/github/getting-started-with-github/fork-a-repo)
> リポジトリのフォークの例 ## 3. forkしたリポジトリを取得/変更を加える 別のマシンで、forkしたリポジトリを取得する。 ``` # 例)ユーザ名"seigot"の場合の例、ユーザ名は各自のアカウント名に変更する git clone https://github.com/seigot/test_pull_request ``` https://github.com/xxx/test_pull_request (ユーザ名:xxx のリポジトリ)をcloneする場合 ``` # 例)ユーザ名"seigot"の場合の例、ユーザ名は各自のアカウント名に変更する git clone https://github.com/xxx/test_pull_request ``` forkしたリポジトリに変更を加える ``` cd test_pull_request # ディレクトリを移動 git checkout -b test_branch main # 変更用ブランチへ移動 echo "test" >> README.md # READMEを変更(最終行に"test"を追記) git add README.md # 変更対象に登録 git commit -m "test commit" # commit messageを記載 git push origin test_branch # forkしたリポジトリへ変更を登録 ``` ### 4. Pull Requestをする 以下を参考に、[test_pull_request](https://github.com/seigot/test_pull_request)のリポジトリにPull Requestをします
>[フォークからプルリクエストを作成する](https://docs.github.com/ja/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork)
フォークからプルリクエストを作成する
1.作成したフォークの元であるリポジトリに移動します。
2.Above the list of files, click Pull request.
3.[Compare] ページで [compare across forks] をクリックします。
4.[base branch] ドロップダウンメニューで、変更をマージする上流リポジトリのブランチを選択します。
5.[head fork] ドロップダウンメニューでフォークを選択し、次に [compare branch] ドロップダウンメニューを使用して、変更を加えたブランチを選択します。
6.プルリクエストのタイトルと説明を入力します。
7.ユーザが所有するフォークでは、上流のリポジトリに対するプッシュアクセス件を持つ人がプルリクエストに変更することを許したくない場合は、Allow edits from maintainers(メンテナからの編集を許可)の選択を解除してください。
8.レビューの準備ができたプルリクエストを作成するには、Create Pull Request(プルリクエストの作成)をクリックしてください。
以上 # 参考 [GitHub-アカウントの準備と設定](https://git-scm.com/book/ja/v2/GitHub-アカウントの準備と設定)
[リポジトリをフォークする](https://docs.github.com/ja/free-pro-team@latest/github/getting-started-with-github/fork-a-repo)
[プルリクエストの作成方法](https://docs.github.com/ja/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request)
[フォークからプルリクエストを作成する](https://docs.github.com/ja/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork)
[[実践] はじめてのPull Requestをやってみよう](https://qiita.com/wataryooou/items/8dce6b6d5f54ab2cef04)
[【GitHub】Pull Requestの手順](https://qiita.com/aipacommander/items/d61d21988a36a4d0e58b)
## 以下、テスト用 test1
test test2 test2 test2 test222 test test

test_pull_request's People

Contributors

seigot avatar ysk-2 avatar iwatadive28 avatar takomaron avatar adelie7273 avatar akomastr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.