Reputation: 30956
I have two git hash i would like to get the log of all changes between them but this is happening on server I need a way to not make a local copy or it would involve a pretty involved procedure.
It was perfect when I use to do it with svn just having svn command line i could query it with a username for difference between two builds.
svn --username="bla" --password="bla" log http://svnrepository -r100:102
Can't a git repository remotely act like a server to me so I can execute this remotely?
Upvotes: 0
Views: 176
Reputation: 468131
If your repository is really so huge that this would be a win over just cloning the repository, I think you can do this with a script that uses git archive
with its --remote
option. You can easily alter this script along those lines to take a remote repository parameter.
Upvotes: 1
Reputation: 72865
I don't think this is possible. A diff running on remote versions would be incredibly slow compared to doing it locally and git tries to do things locally. The best you can do is to clone the repository and then diff between the two remote branches.
OTOH, you might be able to use some kind of git web interface to see diffs online.
Upvotes: 2