Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to suppress git clone output? [duplicate]

Tags:

git

shell

I am running the below command

git clone --quiet ssh://XXXXXXX:29418/git_performance_check

which displays the output as

Total 6 (delta 0), reused 5 (delta 0)

How can I totally suppress this output?

like image 797
devops Avatar asked Aug 23 '16 14:08

devops


People also ask

How do I abort a git clone?

Ctrl + C should send a SIGINT or similar (signal for graceful exit) to the git process; if this does not help you can issue a SIGQUIT with Ctrl + \ ; last but not least you can always kill the process using the Windows Task Manager.

Does git clone copy all history?

No it does get the full history of the remote repository. What it doesn't get is the config and the hooks (they are not clone, pulled or pushed). It also doesn't create a local branch for each of the remote branches cloned.

Does git clone overwrite?

You can also use git force clone to overwrite your history entirely. But be careful. This will destroy your local work.


1 Answers

Redirect output into the bitbucket.

git clone --quiet ssh://XXXXXXX:29418/git_performance_check > /dev/null
like image 163
alex Avatar answered Oct 21 '22 21:10

alex