Is it possible to check if, a git tag/commit is reachable from another git tag/commit in a repo through remote git commands i.e without cloning the code.

I can do it locally using git rev-list or git merge-base. I tried using git ls-remote, but unable to do so.

1

There are 1 answers

0
ckruczek On BEST ANSWER

In order to interact with a git repository you have to clone it.

Use git clone <remote> to get the repository locally and after that you can use your commands you already used before to filter.