chrisant996 / clink

Bash's powerful command line editing in cmd.exe
https://chrisant996.github.io/clink/
GNU General Public License v3.0
3.44k stars 135 forks source link

clink can not recognize the symbol ^ #628

Closed Dalton-Liu closed 2 months ago

Dalton-Liu commented 2 months ago

for example, the command : git reset HEAD^

C:\Code\binmake>git reset HEAD^ More? More? fatal: ambiguous argument 'HEAD ': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'

chrisant996 commented 2 months ago

That has nothing to do with Clink. ^ is a special character in CMD.exe.

Learn more here: