emacs - git merge lock on Mac -
i'm doing merging lab in git immersion tutorial. when enter
$ git merge master
it takes me too
# please enter commit message explain why merge necessary, # if merges updated upstream topic branch. # # lines starting '#' ignored, , empty message aborts # commit.
i cannot figure out how complete merge. i've tried c - x
, , various commands :wq
seem work vi
text editor, believe have emacs
editor. command know me out of editor , shell (i'm using bash) c - z
, undoes merge.
how can save/complete merge?
resolved: based on suggestions below, switched editor 'nano', able complete merge. help!
sounds you're using editor you're unfamiliar with. consider changing
git config --global core.editor nano
or
git config --global core.editor vim
documentation here: https://git-scm.com/book/en/v2/customizing-git-git-configuration#basic-client-configuration
Comments
Post a Comment