आप या तो --no-edit
से git pull
पर जा सकते हैं, या आप पर्यावरण चर GIT_MERGE_AUTOEDIT
से no
पर सेट कर सकते हैं।
git pull
प्रलेखन से:
--edit, --no-edit
Invoke an editor before committing successful mechanical merge to
further edit the auto-generated merge message, so that the user can
explain and justify the merge. The --no-edit option can be used to
accept the auto-generated message (this is generally discouraged).
The --edit option is still useful if you are giving a draft message
with the -m option from the command line and want to edit it in the
editor.
Older scripts may depend on the historical behaviour of not
allowing the user to edit the merge log message. They will see an
editor opened when they run git merge. To make it easier to adjust
such scripts to the updated behaviour, the environment variable
GIT_MERGE_AUTOEDIT can be set to no at the beginning of them.
स्रोत
2012-11-26 20:18:22
यदि यह अक्सर आपके लिए परेशान होने के लिए पर्याप्त हो रहा है, तो यह संभवतः एक संकेत है कि आप बहुत सारे विलय कर रहे हैं जिसके परिणामस्वरूप बदसूरत इतिहास हो रहा है। – qqx
क्या होगा यदि आप अन्य डेवलपर्स के साथ काम साझा कर रहे हैं? क्या यह अनिवार्य नहीं होगा? – Trip
ध्यान दें कि यहां इच्छित व्यवहार एक संपादक खोलना है और उपयोगकर्ता को संदेश में टाइप करना है। हालांकि यह केवल नैनो इत्यादि के साथ काम करता है और उत्कृष्ट प्रक्रिया के बाद विफल रहता है क्योंकि उत्कृष्ट प्रक्रिया ** तुरंत समाप्त हो जाती है ** यदि उत्कृष्टता पहले से खुली है (मैं हमेशा इसे खोलता हूं) – xjcl