Skip to contentSkip to conversation

Does Git run on Windows ?

DISCUSSION Aaron Gray 5 participants 7 messages Jun 15, 2016

lore
Share & tools
lore

Aaron Gray

author
#0 lore raw

This maybe a stupid question but does Git run on Windows ?

Are there better options ?

If not how much work would it be to port it ?

Its got lots of C code, and Bash scripts, with a couple of Perl scripts.

So should run on Cygwin okay, maybe even MinGW. Anyone tried either ?

This maybe the crunch and reason to use CVS for now :(?)

Aaron

#1 lore raw
Quoted 1 line · Aaron Gray

This maybe a stupid question but does Git run on Windows ?

Yes.

cgf

#2 lore raw
In reply to Aaron Gray
Quoted 1 line · Aaron Gray

This maybe a stupid question but does Git run on Windows ?

Ask google :-) - try "git cygwin" - or look at the git wiki.

Quoted 1 line

Are there better options ?

Mercurial is quite similar (though not as fast), and may have an easier time on Windows. Not 100% sure about that.

Quoted 1 line

This maybe the crunch and reason to use CVS for now :(?)

If you are only supporting some users on Windows, you may be able to use git-cvsserver for them. Looks like a cvsserver but it is a GIT repository ;-)

cheers,

martin

author
#3 lore raw
Quoted 5 lines
Quoted 1 line

This maybe the crunch and reason to use CVS for now :(?)

If you are only supporting some users on Windows, you may be able to use git-cvsserver for them. Looks like a cvsserver but it is a GIT repository ;-)

Thanks. This looks like the best option. Run Git, GitWeb, and git-cvsserver on our Linux server. Allowing Windows users to connect via CVS and GitWeb. Nice, looks like the right solution, best of both worlds.

Running Cygwin, Perl, and Python is not really something I could expect of Windows programmers.

Many thanks,

Aaron

#4 lore raw
In reply to Aaron Gray
Quoted 1 line · Aaron Gray

This maybe a stupid question but does Git run on Windows ?

You do know that there are several list archives?

Quoted 1 line

Are there better options ?

Than Windows? Yes.

Quoted 1 line

Its got lots of C code, and Bash scripts, with a couple of Perl scripts.

And you completely forgot Python.

Quoted 1 line

So should run on Cygwin okay, maybe even MinGW. Anyone tried either ?

Yes, I have tried.

You might be surprised that Cygwin is supported. But then, you could have seen it in the Makefile.

I also tried to port git to MinGW. This project is stalled a little, because there is really, really, _really_ much to adapt.

MinGW inherits the problem of Windows being utterly non-POSIX, and that has to be worked around.

HOWEVER, if you would like to continue where I left off, I'll send you a repo URL where you can download it.

Ciao,
Dscho

#5 lore raw
Quoted 5 lines · Johannes Schindelin
Quoted 1 line · Aaron Gray

Its got lots of C code, and Bash scripts, with a couple of Perl scripts.

And you completely forgot Python.

If I remember correctly the only Python dependency was recursive merge strategy, currently being reworked in C.

Signature · 3 lines
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
#6 lore raw

Hi,

Quoted 10 lines · Jakub Narebski
Quoted 5 lines · Johannes Schindelin
Quoted 1 line · Aaron Gray

Its got lots of C code, and Bash scripts, with a couple of Perl scripts.

And you completely forgot Python.

If I remember correctly the only Python dependency was recursive merge strategy, currently being reworked in C.

I remember, too. Because Alex and me are working very hard to provide something which is presentable to the list. We will release a WIP patch of it, probably tomorrow.

Ciao,
Dscho