gpt4 book ai didi

git - 为什么终端在 ubuntu 中 merge 时会切换到 nano 控制台?

转载 作者:行者123 更新时间:2023-12-04 18:57:58 24 4
gpt4 key购买 nike

只有在 merge 时,终端 || 终结者两者都切换到 ubuntu 14.01 中的 nano 控制台,我在这里感到震惊。无法移出它并且需要花费太多时间来更新,但是 Windows 不会导致任何此类问题。

任何人都曾面对过。如何克服这一点?我不想切换到 GNU nano 2.2.6 安慰。

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.



请协助解决此问题。

最佳答案

检查您的 $EDITOR环境变量以及git config core.editor的设置.其中之一可能设置为 nano .

关于git - 为什么终端在 ubuntu 中 merge 时会切换到 nano 控制台?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29897380/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com