Other person said you're unlikely to use it but I disagree, if you accidentally forget to add a commit message when committing you'll be greeted with a Vim screen and have no idea. git config -global core.editor 'code -wait' after you've installed VSCode. Now, when launching the MinGW shell through that shortcut, mintty will be used instead of the Windows terminal emulator. It'll let you edit Git config files, resolve merge conflicts, etc. (Often, this will end up being the only argument, but if not, it's important that it be the first.) If an argument selecting a shell is already present (such as -rxvt), remove it.įinally, add -mintty as the first argument after "msys.bat". Wherever you find your link, the Target should be "C:\MinGW\msys\1.0\msys.bat", potentially with some command-line arguments following it. Choose the terminal emulator you’d like to use with Git Bash. How to install and update Git Bash / MINGW / MSYS2 via Git for Windows. The default option is Checkout as-is, commit as-is which is the recommended option for most users. Choose how Git should handle line endings. Other person said youre unlikely to use it but I disagree, if you accidentally forget to add a commit message when committing youll be greeted with a Vim screen and have no idea. Choose whether you’d like to use Git from the Windows Command Prompt or the Git Bash console. git config -global core.editor 'code -wait' after youve installed VSCode. Right-click the link and select Properties. Itll let you edit Git config files, resolve merge conflicts, etc. By default, this is a link named "MinGW Shell" located in the "C:\MinGW\msys\1.0" folder. Next, you need to edit the shortcut you use to run the MinGW shell. It takes a few moments to download and install the mintty packages, after which you can exit the shell.Īlternatively, you can select and install the "msys-mintty" packages via the MinGW Installation Manager.Ĭonfigure MSYS. This can be done either at the MinGW command line or via the MinGW Installation Managerįrom the MinGW command line, run mingw-get install mintty. Mintty is indeed well supported by MinGW/MSYS in fact, much of the configuration is already done and waiting to be activated.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |