“Too many revisions” git message

删除回忆录丶 提交于 2019-11-30 11:47:53
user1007074

This does not answer the OP's specific situation but I don't have enough reputation to add this as a comment... This page is one of the top search results for the error message Too many revisions specified

If you are using Posh Git or some other powershell command line then you get the above error message when you enter a command like

git stash show -p stash@{2}

Powershell doesn't like the curly braces.

git stash show -p stash@'{'2'}'

should do the trick.

Similarly:

git stash show -p "stash@{2}" 

also avoids the error.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!