Re: Anyone running GIT on native Windows
- From
Johannes Sixt <j.sixt@eudaptics.com>
- Date
- May 7, 2007, 07:02 UTC
- Message-ID
- <463ECEF4.625F3633@eudaptics.com>
- In-Reply-To
- <2b7f01c78fb1$be4dc6a0$0200a8c0@AMD2500>
Aaron Gray wrote:
> What I want is to be able to work in Windows CMD and envoke .sh scripts by > association (unfortunately you have to add the .sh on the command name > though).
I run the mingw port exclusively from CMD without a .sh association. So exclusively that I don't even know whether any other way of using the tools even works. Of course, you have to get used to
git status git fetch git commit git rebase
etc. instead of
git-status git-fetch git-commit git-rebase
and I also use CMD's tab completion frequently, with leaves \ instead of / in the paths. I also quite often do
git clone p:\public\repos\foo.git
and
git clone p:/public/repos/foo.git
without a hitch.
Sure, you need a set of Posix tools (sed, grep, cat, wc, sort, ...) including a Bourne shell that knows how to invoke other scripts by parsing the interpreter from the first line (#!/bin/sh). (But the perl scripts (git-remote) will probably work only with MinGW's perl.)
-- Hannes