Nodegit: is there a way to check if remote repository exist tor not

135 Views Asked by At

Can we check if the passed repository (e.g.) exists on the git server or not (without cloning) in Nodegit?

So I have a use-case where I just need to check if the connection to that git repository can be established or not. because I don't know which branch users have used master/main. Is there a direct Nodegit function to test the connection to the top(main/master) branch?

0

There are 0 best solutions below