3

我正在使用git rev-list --stdinWindows 命令提示符。我正在进入--一些路径,每行一个。

如何向 Git 发出我已完成输入路径列表的信号?我试过Ctrl+ ZCtrl+ CCtrl+D但似乎没有一个按预期工作。

文档没有提到它: https ://git-scm.com/docs/git-rev-list

我发现这个对 Unix 有帮助的相关问题,但似乎不适用于 Windows: https ://unix.stackexchange.com/questions/16333/how-to-signal-the-end-of-stdin-input

4

1 回答 1

3

You can signal the EOF from keyboard in Windows by pressing Ctrl+Z, followed by an Enter key. I have used it when I input files from keyboard to a program, and it works for me. I think it will also work here.

于 2018-12-22T19:20:06.107 回答