Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

advocate git config receive.updateServerInfo instead of enabling a post-update hook

オープン 初心者向け
#1,829 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
72/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
git
領域
documentation

調査の方向性

リンク先の行にある book/04-git-server/sections/protocols.asc を開き、dumb HTTP protocol で bare repository を提供する手順を確認してください。issue の説明どおりに receive.updateServerInfo を使用するよう例を更新し、周囲の説明は維持してください。完了条件は、セクションが読者に post-update hook のインストールを指示しなくなり、ドキュメントが設定アプローチを説明していることです。

索引モデルが issue の本文から書いたものです。

説明

https://github.com/progit/progit2/blob/d9acee50e367e82a1dfddd88ca0e5e00c2cc95d5/book/04-git-server/sections/protocols.asc?plain=1#L87-L109

I think instead of installing that hook the code block should look like this:

$ cd /var/www/htdocs/
$ git clone --bare /path/to/git_project gitproject.git
$ cd gitproject.git
$ git config receive.updateServerInfo true

The advantage is, that one can also set this option globally with git config --global or even --system, which is nice because it not necessary anymore to handle that hook for each repo individually.

主要言語
CSS
スター
6.6k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

progit/progit2 のほかの issue

progit/progit2 の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。