开发者

How can I get the version number of git running on server?

I'm a git newbie.

I'm working on a project on GitHub, and I have some problems (I'll detail them in a later posts if further checks don't succeed) pushing my commits to remote repository.

I'd like to check which version of git is running on GitHub servers. Is there any gi开发者_如何学运维t command to perform such task? Thank you.


You do know that the GitHub website currently does have a problem right?
It should be ok by now. See its twitter.

Regarding your question, I am not sure there is a way, except by asking them on their support.

Edit: which I did.
The current version (December 16th) of Git running on GitHub is the 1.6.4.3

Edit2: From last April to today (July 17th, 2010), they are on 1.7+: 1.7.0.2 right now (look at the comment of that SO question).
There is still (to my knowledge) no easy way to get that information directly from the GitHub page though.


git is not bzr. I don't ever recall them changing their repo formats, so pretty much any two versions can push and pull between each other and they don't arbitrarily kill off the access to your repositories for no apparent reason.

The closest I've come to an exception there was using a 1.4 or earlier back in the day (before they formalized remotes) and not being able to make sense of remote vs. local branches. Even then, it worked just fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜