If I want to look inside a file in a remote repository, is this possible without cloning the whole repository?
I tried
git ls-remote git@remoteserver.com:repo.git
but that only displays references available in a remote repository along with the associated commit IDs.
There is a solution on the console here but that is quite complicated and not very handy to use on multiple files. You can see the content in some certain file (for ex. ìndex.php
) this way.
Optimal for me would be a sort of file-browser (like Krusader) on Linux, where I would just enter the git url git@remoteserver.com:repo.git
and can browse all files inside the repository.