Hide all output of `git ls-remote`
Hello I am writing a function to check whether a git repository url is valid or not. I want to hide the output coming from git ls-remote
. Any idea how to do that?
Hello I am writing a function to check whether a git repository url is valid or not. I want to hide the output coming from git ls-remote
. Any idea how to do that?