sitelists.blogg.se

Git windows issues to runningsomeoneelse scode
Git windows issues to runningsomeoneelse scode







#GIT WINDOWS ISSUES TO RUNNINGSOMEONEELSE SCODE 64 BIT#

Or if you are in a 64 bit system: git config -global core.editor \ "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin" Note the direction of the slashes! Use / NOT \ to separate folders in the path name! git config -global core.editor \ (not that with the core.editor configuration mechanism, a script with " start /WAIT." in it would not work, but only open a new DOS window)īennett's answer mentions the possibility to avoid adding a script, but to reference directly the program itself between simple quotes. It just works from the DOS session, but not from the git shell. If I define a npp.bat including: "c:\Program Files\Notepad++\notepad++.exe" %*Īnd I type: C:\prog\git>git config -global core.editor C:\prog\git\npp.bat "c:\Program Files\Notepad++\notepad++.exe" %*: c:\Program Files\Notepad++\notepad++.exe: command not foundĮrror: There was a problem with the editor '"c:\Program Files\Notepad++\notepad++.exe" %*'. That always gives: C:\prog\git>git config -global -edit Git config -global core.editor "\"c:\Program Files\Notepad++\notepad++.exe\" %*" I prefer to not have to set an EDITOR variable, so I tried: git config -global core.editor "\"c:\Program Files\Notepad++\notepad++.exe\"" I just tested it with git version 1.6.2.msysgit.0.186.gf7512 and Notepad++5.3.1 Terminal and get rid of it when the editor returns, if the terminal

git windows issues to runningsomeoneelse scode git windows issues to runningsomeoneelse scode

Print a message that Git is waiting for editor input in the original To interact with another window before Git can proceed. The original Git terminal window without even realizing that s/he needs " git rebase -i"), then the editor window When a graphical GIT_EDITOR is spawned by a Git command that opensĪnd waits for user input (e.g. (Merged by Junio C Hamano - gitster - in commit 0c69a13, ) launch_editor(): indicate that Git waits for user input See commit abfb04d (), and commit a64f213 () by Lars Schneider ( larsxschneider).

git windows issues to runningsomeoneelse scode

Opens to a hidden window or somewhere obscure and the user gets See commit 69b301b by Johannes Schindelin ( dscho).Īnd Git 2.16 (Q1 2018) will show a message to tell the user that it is waiting for the user to finish editing when spawning an editor, in case the editor The last release of git-for-Windows (2.5.3) now includes:īy configuring git config core.editor notepad, users can now use notepad.exe as their default editor.Ĭonfiguring git config mitMessageColumns 72 will be picked up by the notepad wrapper and line-wrap the commit message after the user edits it.







Git windows issues to runningsomeoneelse scode