So if you don't like the options you have, re-run the and fix things. Anyway, it was enough that I opted to remove it from Windows Terminal and keep using mintty. The last time I added G4w bash to Windows Terminal, it mostly worked, but not everything. You can re-run the install and update your options. I suggest in Git installer, add a checkbox add Git to Windows terminal and append the new entry to Windows Terminal profiles.json. With it in the path, you should be able to use it from any of cmd, powershell, git-bash. BTW, this does require a logout/login or a restart for some software to accept the updated environment. However, there is a big problem with this setup: Any password prompts are not displayed. Initially, I loved mintty because it is much more reponsive and pastes on middle click. If I do want automatic line ending fixes, I configure it in my per-user config, or per-repo config as needed.Īdd GIT to your path to be used by all tools. The latest version of Cygwin doesnt use the windows command prompt by default, but Mintty instead. There must be something weird in your environment which I cannot investigate remotely. If there was such a problem in the Git package, there had been lots of reports already, and mintty 2.8.4 would not be part of that package. I set the option to disable the crlf translation, and select the correct line ending options in my editor. I have Portable Git 2.16.2 installed with no problems. in difference between a terminal, a shell, a tty and a console. It may also be useful to get a proper understanding of the rôle of a terminal as explained e.g. I hate git trying to fix my line-endings. Before reporting an issue about character interaction with an application, please check the issue also with at least one other terminal (xterm, urxvt), and maybe the Cygwin Console. I am a big fan of VSCode, and git will let you use that as an editor. If you run a putty-based ssh agent, be sure to choose plink so you don't have to provide credentials all the time. It will change whether git is in the PATH, which ssh client client and agent is used, which terminal is used by default, which editor is used by default for modifying commit messages and so on. A lot of the problems people have with the Git for Windows is related to the choices they make during the install.ĭepending on how you install you may get different defaults.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |