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

Non-default branches are copies instead of diffs

オープン
#87 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
go
領域
cli

調査の方向性

main と 1 コミット先行したソリューションブランチを含むテンプレートを使って課題作成フローを再現し、"Copy the default branch only" のチェックを外した場合の挙動を比較します。ブランチのコピー処理のエントリポイントを追跡し、結果として作成されるソリューションブランチが祖先関係を保持していることを確認して、学生が意図した diff を表示できるようにします。

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

説明

In my class, I create assignments from repository templates that have a main branch and a solution branch. The solution branch is one commit ahead of the main branch so that students can click on solution's commit to see a diff of the solution. At least, that is how it worked last year.

This year, GitHub Classroom changed such that there's a new option "Copy the default branch only". When this option is unchecked, the solution branch is copied as if it were an entirely new branch (parallel to main). As a result, the diff is lost! This makes it very difficult for students to see the parts of the code that are added/removed/changed in the solution.

(P.S. Is there another (better) approach to providing solutions to assignments?)

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

github/gh-classroom のほかの issue

github/gh-classroom の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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