为什么“ nohup git克隆”的输出的重定向不转移写入文本文件?
$ > nohup git clone https://github.com/arepo.git >nohup.txt &
$ > tail -F nohup.txt
nohup: ignoring input
Cloning into 'arepo'...
为什么当我使用 nohup
时,为什么(输出到bash输出时)的输出消失了?
相关但与:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用
- progress
选项类似:显然,除非设置此选项:
Use the
--progress
option like:Apparently, the progress status is only reported when attached to a terminal unless you set this option:
https://www.git-scm.com/docs/git-clone#Documentation/git-clone.txt---progress