git reset asks 'more?'

后端 未结 3 1599
忘了有多久
忘了有多久 2020-12-04 20:47

Git windows command line, version 1.8.0

I have 3 commits so far and when I type

git reset --soft HEAD^

new line comes up with

3条回答
  •  借酒劲吻你
    2020-12-04 21:23

    see if git log HEAD^ works. If it doesn't, it may be something with your localization or terminal. It seems to be filtering out the ^ symbol. As a workaround, use git reset --soft HEAD~1 for now.

提交回复
热议问题