-2

Does GIT have a shell mode available like many other command line tools, like MYSQL? The designers appear to have gone to great lengths to avoid the need for a "modal" interface, including that the DOS prompt can change when a GIT directory happens to be the working directory. This is great, but is there a command line argument or another method one can use to drop into a GIT subsystem shell?

Rationale: With GUI interfaces available today it is VERY rare (never) that I would actually want to enter a DOS command while using GIT. Therefore, why should I have to enter GIT to start every command, with the disadvantage that it takes extra keystrokes and that I can cause damage if I forget: some GIT command names overlap with DOS commands.

  • *What* Git commands overlap with DOS commands? If you're going to do anything in Git you have to prefix it with `git`. – Makoto May 14 '15 at 15:50
  • I don't think this makes sense since you'd need some moe change or command prefix to run plain shell commands like `cd`, `vi somefile.c`, `make` or you'd need two console windows and switch between both. In the end this would probably reduce the productivity rather than increasing it. – try-catch-finally May 14 '15 at 15:55
  • Not natively, but you might want to look at [`gitsh`](https://github.com/thoughtbot/gitsh). – ChrisGPT was on strike May 14 '15 at 16:54
  • Perhaps it's more of a mindset thing... There is *one* `git` command, and it's name is `git`. It just happens to have many different arguments/options/subcommands... `git` is not a shell. – twalberg May 14 '15 at 17:33

1 Answers1

-2

Yes, based on this question (which you really should have found if you did even a cursory search of SO), there is a git shell for Windows.

I did not notice the github-only aspect...

Community
  • 1
  • 1
dcsohl
  • 7,186
  • 1
  • 26
  • 44
  • The OP isn't simply looking for a command line version, but for a "Git shell" that would show, for example, a `git>` prompt and accept git commands. Also, the OP asks about Git, but your answer is GitHub specific. – ChrisGPT was on strike May 14 '15 at 21:38