Hice un git stash popy terminé con conflictos de fusión. Eliminé los archivos del sistema de archivos e hice lo git checkoutque se muestra a continuación, pero cree que los archivos aún no están fusionados. Luego intenté reemplazar los archivos y hacer un resultado git checkoutnuevo y el mismo. Intenté forzarlo con la -fbandera. ¡Cualquier ayuda sería apreciada!
chirag-patels-macbook-pro:haloror patelc75$ git status
app/views/layouts/_choose_patient.html.erb: needs merge
app/views/layouts/_links.html.erb: needs merge
# On branch prod-temp
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: db/schema.rb
#
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# unmerged: app/views/layouts/_choose_patient.html.erb
# unmerged: app/views/layouts/_links.html.erb
chirag-patels-macbook-pro:haloror patelc75$ git checkout app/views/layouts/_choose_patient.html.erb
error: path 'app/views/layouts/_choose_patient.html.erb' is unmerged
chirag-patels-macbook-pro:haloror patelc75$ git checkout -f app/views/layouts/_choose_patient.html.erb
warning: path 'app/views/layouts/_choose_patient.html.erb' is unmerged
git stash apply/popdebería ser más fácil con Git 2,5 (Q2 2015), ya que el árbol de trabajo ahora debe estar limpia: véase mi respuesta a continuación