0
は私がgit add init.yml
を試してみましたが、コミットともgit rm init.yml
とコミットが、運を試してみましたgitの桜ピックエラー:適用できませんでした、Gitのステータスは、「私たちによって削除:」
git cherry-pick 5eb68e3 error: could not apply 5eb68e3... Switched timezone to IST hint: after resolving the conflicts, mark the corrected paths hint: with 'git add> <paths>' or 'git rm <paths>' hint: and commit the result with 'git > commit' [email protected]:~# git status On branch pandy You are currently cherry-picking commit 5eb68e3. (fix conflicts and run "git cherry-pick --continue") (use "git cherry-pick --abort" to cancel the cherry-pick operation) Unmerged paths: (use "git add/rm <file>..." as appropriate to mark resolution) deleted by us: init.yml no changes added to commit (use "git add" and/or "git commit -a")
以下のように行っています。
コミットには1行だけの変更がありますが、gitでinit.ymlを追加すると、完全なファイルが変更されます。適用したいときに、この問題に直面した
ここに投稿したすべての情報で判断すると、現在のブランチで削除したファイルを変更するコミットをチェリーしようとしているようです。なぜこれが良い/有用なアイデアだと思うかをもっと説明できますか? –