gitsh (or git sh) is definitely the builtin solution the OP was looking for, and present in the answers in the given stackoverflow thread.
But the problem can be achieved using only bash, and the OP has stated that bash is available in their windows machine. As multiple people have demostrated, there are several ways. I will add one more, the one I use, that is slightly different from the others, and that uses mainly bash (and grep and cut, that can be installed in windows as well, probably provided by the same installer that provided bash in the OP machine): - Run `git config -l` to get the list of all config entries, - Then grep the aliases to get a list of only the aliases, - For each alias, create a bash alias that invokes the git alias For example, my bash alias 'a' means 'git a', and my git alias 'a' means 'add'. I have that publicly available in https://github.com/daniel-fanjul-alcuten/dotfiles/blob/master/.bashrc#L259, from L259 to L319, including bash completion for those bash aliases. On Fri, Jun 14, 2019 at 9:34 AM Michael <[email protected]> wrote: > > > Hi Michael, > > > > I was probably being over zealous in my differentiation. > > > > Git tends to follow the 'terminal command line interface' approach, > which (because of a single terminal view) would lead to the distinction I > highlighted, but that doesn't mean that Linux can't do multiple windows, as > you highlight. > > > > Philip > > I wasn't even thinking of multiple windows. There are plenty of programs > that enter a "Give a sequence of commands" mode when you access the > program with no args. > > Sqlite, for example. > ntpdc > bash > > Those are the three that immediately jump to mind. > > -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/git-users/9515D788-F17A-4A1C-B7CC-7007F213D5ED%40gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/CAPktr3kdWh4yo6fFE4pmN3yvoo7N%2Bf%2B5_EtrLyPkf-jbseDuWg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
