Git Pull opens VIM even with --no-edit -
the "vim opens asking commit message after implicit non-conflicting merge" seems relatively common issue, seems relatively simple answer: git config --global core.mergeoptions --no-edit
.
unfortunately doesn't seem work me or @ least 8 of other 15 people in class, , our instructor bit baffled (though fair hasn't had time beyond quick google search or two). isn't that big of issue, can escape out enough :q
, we'd know answer to, , google searches return stack overflow questions --no-edit
solution (either via core or every time pull done).
my .gitconfig (minus personal info):
[mergetool "kdiff3"] path = "/c/program files/kdiff3/kdiff3.exe" [merge] tool = kdiff3 [core] mergeoptions = --no-edit [mergetool] keepbackup = false
and yet:
.
does know why fix isn't working (ie: "ya dun goofed in spelling 'options'"), or if there better/more reliable way fix this?
you need add add export git_merge_autoedit=no
in .bash_profile
, open new bash.
you can next bash command:
echo 'export git_merge_autoedit=no' >> $home/.bash_profile && . $home/.bash_profile
i hope helps :d
Comments
Post a Comment