LoginSignup
0
0

More than 1 year has passed since last update.

git操作_間違えてaddしてしまった時

Posted at

始めに

ローカルにて間違えて git add してしまった時の対処法を備忘録として残します。

環境

開発環境 バージョン
git 2.36.1
Windows 11

コマンド内容

// 間違ってadd してしまった
git add .
↓ ↓ ↓
// resetコマンドを使用します。add前の状態に戻したいファイルを選択します。
git reset ファイル名

これだけ

終わりに

閲覧ありがとうございました。
git操作もっと詳しくなりたいと思う今日この頃です。
ご指摘、ご意見ありましたら、コメントよろしくお願いします。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0