I'm trying to save the output of git clone into a bash variable. When I do the below, I only get the first line DIR=$(git clone repo_url >& /dev/stdout) echo $DIR Output: Cloning into [...
0 Vote
0 Answer
43 Views