Unix & Linux: How to exit a git merge asking for commit message? (3 Solutions!!)
Unix & Linux: How to exit a git merge asking for commit message?
The Question: I'm using git. I did a normal merge, but it keeps asking this:
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
And even if I write something, I can't exit from here. I can't find docs
explaining this. How should I do?
Solutions: Please watch the whole video to see all solutions, in order of how many people found them helpful
== This solution helped 27 people ==
This is depend on the editor you're using.
If /questions/tagged/vim you can use ESC and :wq or ESC and Shift+zz. Both
command save file and exit.
You also can check ~/.gitconfig for editor, in my case (cat ~/.gitconfig):
[user]
name = somename
email = [email protected]
[core]
editor = vim
excludesfile = /home/mypath/.gitignore_global
[color]
ui = auto
# other settings here
With thanks & praise to God, and with thanks to the many people who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free-music | Images: https://stocksnap.io/license & others | With thanks to user ??????? (https://unix.stackexchange.com/users/79501), user Rui F Ribeiro (https://unix.stackexchange.com/users/138261), user Luca Reghellin (https://unix.stackexchange.com/users/59856), user Edwin Pratt (https://unix.stackexchange.com/users/316639), user Andrew (https://unix.stackexchange.com/users/406403), user AdminBee (https://unix.stackexchange.com/users/377345), and the Stack Exchange Network (http://unix.stackexchange.com/questions/181280). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything is amiss at Roel D.OT VandePaar A.T gmail.com.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Unix & Linux: How to exit a git merge asking for commit message? (3 Solutions!!)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.