Quantcast
Channel: git reset asks 'more?' - Stack Overflow
Viewing all articles
Browse latest Browse all 6

Answer by Md Habibur Rahman for git reset asks 'more?'

$
0
0

The commands you mentioned are working well on macOS. But On Windows, the caret symbol ^ is used as an escape character, which is why you encounter the "More?" prompt.If you are using Windows, the solution is to use the double caret symbol ^^ instead of ^.For Example:

git reset --soft HEAD^^  git reset HEAD^^  git reset --hard HEAD^^

Viewing all articles
Browse latest Browse all 6

Trending Articles