08-Git&GitHUb

Version Control Git (Part.22~Part.30)[GitHub(Part.24)]|Pull requests (re-requests)

Version Control (Part1-Part.11) [Git] articles are available on Amazon kindle Unlimited (e-book).

howahowablog.com will only be able to read Part.5/10/11.

Version Control (Parts 12-21) [GitHub (Part 1)] articles are available on Amazon kindle Unlimited (e-book).

Only part15/19 will be available on howahowablog.com.

Version Control (Part 21-Part.30) [GitHub (Part 2)] articles are available on Amazon kindle Unlimited (e-book).

Only Part.24/30 will be available on howahowablog.com.

Objectives of Chapter 24

Understand and perform GitHub pull request work.

Pull requests

In the previous chapter, we modified the file and pushed it to a remote repository. In this chapter, we will create a pull request for the pushed file.

Checking the remote repository(howahowamember side)

As in Chapter 1, access the remote repository (howahowablog account) with a browser. Again, access it from the collaborator’s howahowamember account to check the branch you have pushed. When you access it, you will see the following.

ここから編集

Immediately after pushing, “Compare & pull request” is displayed on the screen. After a period, this display will disappear. In that case, you will have to create a pull request from the “Pull requests” tab at the top of the page.

Creating pull requests(howahowamember side)

We request a marge work to have the “pull-request-E-001 branch” created in the remote repository merged into the “develop branch” in the same remote repository. (pull-request)

Click on “Compare & pull request”.

If the button disappears after some time from the push operation, you can create a pull request by clicking on “Pull request” in the menu tab. This time, we chose this way to create a pull request.

Clicking “Pull requests” tab, the request submission screen appear.

Click on the “New Pull Request” button.

The following screen appears. The areas where edits have been made are highlighted in green.

In the “Able to merge. These branches can be automatically merged.” field at the top, select “develop” for “base” and “pull-request-E-001” for “compare”.

This means that the “pull-request-E-001” that you have just pushed will be merged into “develop”.

Click on the “Create pull request” button.

The page changes as follows.

The Write section shows the commit message. Add your work and details here. It is easier to follow the content if the title or URL of the pull request is attached to the description.

記述例

却下されたプルリクエスト【Develop #2】について修正をしています。
URL:https://github.com/howahowablog/howahowaSite/pull/2

作業内容
・「style.css」のトランジションをTopページのタイル表示部分に設定済。
HTMLでは45行目以降についてに関わる部分を修正。
具体的には「style.css」の144行目の「transiion」設定の一行となっています。

【English translation of the text contents】

Correction work on rejected pull request [Develop #2].
URL: https://github.com/howahowablog/howahowaSite/pull/2

Work description.
Transition effects settings in ‘style.css’ which the tiled display section of the Top page have been set. In the HTML, the part related to line 45 onwards has been corrected. Specifically, it is a line of the ‘transition’ setting in line 144 of ‘style.css’.

After editing, it looks as follows.

When you have finished writing the description, click the “Create pull request” button.

When the button is clicked, the display changes to the following and a pull request is created.

After the pull request, the “Projects” item should be moved.

As in Chapter 1, wait for ‘approval’ or ‘rejection’.

That’s all for this article.

「Git・GitHub」おすすめ書籍6選+α【初心者用4冊&実践用2冊&番外編1冊】| 現役エンジニア&プログラミングスクール講師「Git・GitHub」初心者の方がGitの操作を理解するためのお勧めの書籍について取り上げています。また中級者の方が更に進んだ学習ができる実践的な書籍についてお勧めできる2冊を取り上げています。ページの下部には「おすすめのITスクール情報」「おすすめ求人サイト」について情報を掲載中。...

ブックマークのすすめ

「ほわほわぶろぐ」を常に検索するのが面倒だという方はブックマークをお勧めします。ブックマークの設定は別記事にて掲載しています。

「お気に入り」の登録・削除方法【Google Chrome / Microsoft Edge】| 現役エンジニア&プログラミングスクール講師「お気に入り」の登録・削除方法【Google Chrome / Microsoft Edge】について解説している記事です。削除方法も掲載しています。...
【パソコン選び】失敗しないための重要ポイント | 現役エンジニア&プログラミングスクール講師【パソコン選び】失敗しないための重要ポイントについての記事です。パソコンのタイプと購入時に検討すべき点・家電量販店で見かけるCPUの見方・購入者が必要とするメモリ容量・HDDとSSDについて・ディスプレイの種類・バッテリーの持ち時間や保証・Officeソフト・ウィルス対策ソフトについて書いています。...
RELATED POST
08-Git&GitHUb

Version Control Git (Part.12~Part.21)[GitHub(Part.19)]|How Branches Operate in Collaborative Editing

2024年4月13日
プログラミング学習 おすすめ書籍情報発信 パソコン初心者 エンジニア希望者 新人エンジニア IT業界への就職・転職希望者 サポートサイト Programming learning Recommended schools Recommended books Information dissemination Computer beginners Prospective engineers New engineers Prospective job seekers in the IT industry Support site
08-Git&GitHUb

バージョン管理【Git と GitHub】まとめ|現役エンジニア&プログラミングスクール講師

2023年6月5日
プログラミング学習 おすすめ書籍情報発信 パソコン初心者 エンジニア希望者 新人エンジニア IT業界への就職・転職希望者 サポートサイト Programming learning Recommended schools Recommended books Information dissemination Computer beginners Prospective engineers New engineers Prospective job seekers in the IT industry Support site
08-Git&GitHUb

Version Control Git (Part1-Part.11) [Git (Part.10)] | Renaming and deleting files/directories in Git-managed directory

2024年4月2日
プログラミング学習 おすすめ書籍情報発信 パソコン初心者 エンジニア希望者 新人エンジニア IT業界への就職・転職希望者 サポートサイト Programming learning Recommended schools Recommended books Information dissemination Computer beginners Prospective engineers New engineers Prospective job seekers in the IT industry Support site
08-Git&GitHUb

Version Control Git (Part.22~Part.30)[GitHub(Part.30)] | Completing the Sample Site(3)

2024年4月15日
プログラミング学習 おすすめ書籍情報発信 パソコン初心者 エンジニア希望者 新人エンジニア IT業界への就職・転職希望者 サポートサイト Programming learning Recommended schools Recommended books Information dissemination Computer beginners Prospective engineers New engineers Prospective job seekers in the IT industry Support site
08-Git&GitHUb

バージョン管理(Part.22~Part.30)【GitHub(part.30)】|これまでの流れを確認してサンプルサイトを完成させる(3)| 現役エンジニア&プログラミングスクール講師

2024年1月31日
プログラミング学習 おすすめ書籍情報発信 パソコン初心者 エンジニア希望者 新人エンジニア IT業界への就職・転職希望者 サポートサイト Programming learning Recommended schools Recommended books Information dissemination Computer beginners Prospective engineers New engineers Prospective job seekers in the IT industry Support site
08-Git&GitHUb

バージョン管理(Part1~Part.11)【Git編(Part.5)】| 「Gitが管理するフォルダ」と「3つエリア」の概要 | 現役エンジニア&プログラミングスクール講師

2024年1月30日
プログラミング学習 おすすめ書籍情報発信 パソコン初心者 エンジニア希望者 新人エンジニア IT業界への就職・転職希望者 サポートサイト Programming learning Recommended schools Recommended books Information dissemination Computer beginners Prospective engineers New engineers Prospective job seekers in the IT industry Support site