如何使用管道运算符,箭头运算符查找内容或将输出保存在文件help.txt中?

时间:2020-05-06 11:19:47

标签: windows bash cmd pipe

任何人都可以帮助

git > help.txt #works
git commit > help.txt #works
git commit -h > help.txt #never worked..

同样,管道运算符不起作用...

git commit -h | findstr branch #never works, but
git commit | finsdstr branch #works

0 个答案:

没有答案
相关问题