5 ms·
Is there a generic Git client like gitk or qgit that I can just point to a remote Git URL, like so: `git-client https://github.com/user/repo` https://github.com
by telotortium 8y ago
Is there a generic Git client like gitk or qgit that I can just point to a remote Git URL, like so: `git-client https://github.com/user/repo` https://github.com/user/repo`?
- saagarjha 8y agoMost likely it's just going to clone the thing anyways, so just cd into /tmp and download it there and open it?
- telotortium 8y agoWell, yes, that will work, but many larger Git repos take many minutes to download, not to mention the fact that you now have random repos scattered around your system.
- saagarjha 8y agoYeah, that's mostly why I've learned to find my way around GitHub and GitWeb's UI…I'm not sure if there's any way to implement this without downloading the whole thing.
- alaaibrahim 8y agoIf you are only interested in what HEAD has, you can use `--depth 1` with clone
- telotortium 8y agoYeah, it might just be best to use a script to run `git clone --depth=1` into a temporary directory and run the Git GUI on that checkout. I think I'll try writing that up.
- aepiepaey 8y agoIf you just want to browse/search the source tree in a public project, sourcegraph works great (though it's a web app, not a local application). Just prepend sourcegraph.com/ to the hostname. That'd be https://sourcegraph.com/github.com/user/repo https://sourcegraph.com/github.com/user/repo for your example. It can be self-hosted as well.