相关疑难解决方法(0)

将sublimetext 3设置为git commit text editor

我无法将sublime设置为我的git commit消息编辑器.

使用:git config --global core.editor"subl"

错误:错误:无法运行subl:没有此类文件或目录错误:无法启动编辑器'subl'请使用-m或-F选项提供消息.

subl工作完全不然.

git sublimetext3

54
推荐指数
4
解决办法
3万
查看次数

如何在终端中的`git commit --amend`之后确认更改?

当我写作时,git commit --amend我会得到某种编辑器,我可以在其中更改此提交的名称.如何使用键盘确认并保存我的更改?

git terminal git-amend git-commit

8
推荐指数
4
解决办法
1万
查看次数

git通过终端合并

我试图通过终端进行git合并.我正在分支机构工作fix_stuff,我需要合并回来develop.所以我做如下

git checkout develop
git merge --no-ff fix_stuff
Run Code Online (Sandbox Code Playgroud)

现在我看来是一个文本编辑器 - 仍然在终端内 - 有以下消息

# 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.
Run Code Online (Sandbox Code Playgroud)

果然我按i,然后输入我的信息.现在我已经完成了这条消息,我不知道该怎么办.我esc x当时试过了esc q.没有.

我通过Mac El Capitan使用Android Studio终端

git terminal git-merge

3
推荐指数
2
解决办法
8994
查看次数

标签 统计

git ×3

terminal ×2

git-amend ×1

git-commit ×1

git-merge ×1

sublimetext3 ×1