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

🐞 Git's Discard All Changes Not Correct

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
git, swift
領域
desktop, devtools

調査の方向性

まず、CodeEdit の “Discard All Changes” のエントリポイントと、現在の git restore . の呼び出し箇所を見つけます。GitHub Desktop の変更破棄の実装に関するリンク先のドキュメントを読み、その後、unstaged、staged、added、modified、removed のファイルが想定どおりに処理されることを確認します。該当するファイルをゴミ箱に移動することも含みます。

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

説明

bug source control
Description

The "Discard All Changes" functionality isn't quite correct. Right now it just runs git restore . which doesn't handle cases. We can make this feature even better by moving modified and added files to the trash similar to GH Desktop. See their implementation doc here for more details on how this should be handled.

To Reproduce

.

Expected Behavior

CodeEdit's discard changes successfully discards all changes, whether they're unstaged, staged, added, modified, or removed files.

Version Information

CodeEdit: 0.1.0

Additional Context

No response

Screenshots

No response

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

環境構築

はじめの一歩

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

CodeEditApp/CodeEdit のほかの issue

CodeEditApp/CodeEdit の issue をすべて見る

似ている issue

Swift の issue をもっと見る

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

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