You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@schtandard since you require custom options, I don't think you can use this:
Editor Option: Atom
Custom Editor Path:
But why not configure this as a custom editor? You already have the absolute path, and can then also specify the editor options.
I would have expected the installer to only change the system level settings, not the global ones.
Git for Windows will only configure editors in the system config which are installed system-wide. But Atom only comes in a user-wide flavor, therefore Git for Windows configures it in the user-wide config.
Git for Windows will only configure editors in the system config which are installed system-wide. But Atom only comes in a user-wide flavor, therefore Git for Windows configures it in the user-wide config.
Ah, that makes sense.
But why not configure this as a custom editor? You already have the absolute path, and can then also specify the editor options.
That works, thanks. However, I did find another issue in the process (#3155).
Setup
Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
What options did you set as part of the installation? Or did you choose the
defaults?
Any other interesting things about your environment that might be related
to the issue you're seeing?
Nope.
Details
Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
Bash.
What's the problem?
Due to an issue with Atom, I have to reconfigure
core.editor
, which I did usinggit config --global core.editor "atom --wait --new-window"
which is then reflected in the corresponding
%UserProfile%\.gitconfig
file asHowever, whenever I update Git for Windows, this is reverted to
and I have to reconfigure it anew.
I would have expected the installer to only change the
system
level settings, not theglobal
ones. This is also indicated by this comment to Windows Setup » 'Choose the default editor used by Git': two small but useful suggestions #2818. (An implementation to that feature request would also provide a way to get around this problem, but still this seems to be unintended behavior, which is why I am reporting it separately.)The text was updated successfully, but these errors were encountered: