0
$ > nohup git clone https://github.com/arepo.git >nohup.txt &
$ > tail -F nohup.txt
nohup: ignoring input
Cloning into 'arepo'...

Why do the outputs that normally follow (when outputting to bash) disappear when I use nohup?

Related, but separate from:

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135
Poxls88
  • 31
  • 5

1 Answers1

0

Use the --progress option like:

nohup git clone --progress https://github.com/arepo.git >nohup.txt &

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

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135
Poxls88
  • 31
  • 5