0

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 Answers0