How to recover from git “added by us” conflict after applying stash after renaming

后端 未结 2 701
感动是毒
感动是毒 2021-01-23 13:10

I don\'t recall how my git local repo got into this state, but here is the situation:

My status on the command line says "nothing to commit, working tree clean"

2条回答
  •  清酒与你
    2021-01-23 13:37

    You might come back to the version where you stashed from, stash pop, rename the file, then stash save again, then junp back to the revision you are currently working on and stash pop. Then rename should not be an issue

提交回复
热议问题