I am trying to do a git merge through the terminal. I was working on branch fix_stuff
and I need to merge back into develop
. So I do as follows
git checkout develop
git merge --no-ff fix_stuff
Now it takes me to seemingly a text editor -- still within the terminal -- that has the following message
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Sure enough I press i
and then entered my message. Now that I am done with the message, I don't know how to proceed. I tried esc x
then esc q
. Nothing.
I am using Android Studio terminal through Mac El Capitan