LoginSignup
10
5

More than 3 years have passed since last update.

(enter "h" for help) [Ynaqdhm]の対処方法

Posted at

概要

以下のようにPCから聞かれたときの返答方法について、紹介します。

(ターミナル)
Overwrite 〜省略〜 .rb? (enter "h" for help) [Ynaqdhm] 

返答方法

以下のいずれかのアルファベットを、自身の意図に合わせて入力して、enterを押してください。

(ターミナル)
 Y - yes, overwrite #上書する。
        n - no, do not overwrite #上書きしない。
        a - all, overwrite this and all others #全てを上書きする
        q - quit, abort #実行の中断をする
        d - diff, show the differences between the old and the new #ファイルを古いデータ、新しいデータで比較する?
        h - help, show this help #ヘルプを呼び出す
        m - merge, run merge tool #マージする

今回は

今回は以下のエラー文のように、もう既に作成していたファイルを、誤って再度作成コマンドを実行したため起こりました。

(ターミナル)
〜省略〜
 conflict  spec/system/reviews_spec.rb

なので「実行中断をする」のqを選択しエンターを押し、無事対処できました。

以上です。

10
5
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
10
5