如何删除我已经输入的gitbash中的命令以及光标何时移至下一行

How to delete a command in gitbash which I already typed and when the cursor went to the next line

如何删除我已经执行过但由于疏忽而犯了一些错误的命令有没有办法删除我以前在 git bash 终端

中的命令行

Ctrl + C取消命令。