問題タブ [git-amend]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
3617 参照

git - git --amend --no-edit 拒否されたプッシュ

今日、私は の を発見し--no-editました--amend。しかし、それは私を次の問題に導きます。手順は次のとおりです。

  • gitクローン
  • コードにいくつかの変更を加えました
  • git add .
  • git commit --amend --no-edit
  • git push オリジンマスター

    /li>

なんで?

注: そのレポで作業しているのは私だけです。